Help Needed Editing Sudoers File
Results 1 to 2 of 2

Thread: Help Needed Editing Sudoers File

  1. #1
    Join Date
    Jan 2001
    Posts
    363

    Help Needed Editing Sudoers File

    I need to allow 3 users designated as the leaders for vaious projects the ability to add new users. Now this can be achieved using the sudo command (eg. sudo -u jsmith useradd). But for this to work the sudoers file needs to be edited and I don't know quite how to do that. If anyone has knowledge and can provide some examples that would be great. TIA.

  2. #2
    Join Date
    Mar 2000
    Location
    Elyria, Ohio - USA
    Posts
    2,075
    sudoers has a very extensive manpage with plenty of examples. It might be as simple as:

    jsmith ALL = NOPASSWD: ALL

    This should allow jsmith to sudo any command without entering a password. This does seem rather extreme in opening up the entire system to jsmith. You can limit what jsmith does. Again, I suggest you do a man sudoers. Good luck. -mk

    ------------------
    If it ain't broke,
    Fix it till it is.
    If it ain't broke,
    Fix it till it is.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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