Find the answer to your Linux question:
Results 1 to 7 of 7
Hi. I'm trying to help out with a Linux administrator issue at a university (they have no current Linux staff). They have two RHL Enterprise web servers. They've handed over ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2013
    Posts
    1

    how to give new user proper permissions?


    Hi. I'm trying to help out with a Linux administrator issue at a university (they have no current Linux staff). They have two RHL Enterprise web servers. They've handed over management of the web site and some associated responsibilities to a new user. Now they need to add him as a user to the Linux machines and give him proper permissions to do his job. I know how to add him as a user, but the permissions part is harder for me. Is it enough to let him use sudo (specifying his own password, not the root password) when he needs it? Or is there some more granular way of setting his permissions that's preferable? Thanks for any help.

    sliverson

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    There are a number of things you can do but it depends upon what this new user is going to need root permissions for.
    First of all, Red Hat offers a free 30 day trial. After that, you need a paid subscription in order to get any security or other update so Red Hat would be the first source of information and the best.

    You can add a user to the sudoers file for specific tasks or you could add the user to the root group.
    Why not give him the root passsword if he is going to be doing administrator tasks? You need to post more specifics on what you want to accomplish.

  3. #3
    Just Joined!
    Join Date
    Dec 2011
    Posts
    35
    simply add him in sudoers configuration files with required permissions. Post more specific.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer docbop's Avatar
    Join Date
    Nov 2009
    Location
    Woodshed, CA
    Posts
    947
    If someone is new I'd let them sudo for awhile. Once confidence is established then give root password.

  6. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,665
    Actually, if he is granted root sudo permissions, you don't need to give him the root password as he can sudo himself to root whenever he wants: sudo su -
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  7. #6
    Linux Engineer docbop's Avatar
    Join Date
    Nov 2009
    Location
    Woodshed, CA
    Posts
    947
    Quote Originally Posted by Rubberman View Post
    Actually, if he is granted root sudo permissions, you don't need to give him the root password as he can sudo himself to root whenever he wants: sudo su -
    but don't say that on the internet <grin>

  8. #7
    Just Joined!
    Join Date
    Dec 2011
    Posts
    35

    Lightbulb a wild guess

    If you want to give him only the httpd related permission. then give sudo permission to "apachectl" command. I hope with this command he can manage almost all the httpd related actions. And add acl for the folder /etc/httpd. Give him rwx permissions...

    Am not checked. Its just my wild guess.
    Last edited by vich00ss; 02-17-2014 at 03:35 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •