Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Group Rights

Status
Not open for further replies.

w33mhz

MIS
May 22, 2007
529
US
Does anyone know if there is a local group I can add a local user account to so that they have the ability to create/delete user accounts but NOT be root or use sudo?
 
well pretty much I am scripting this out and I am trying to avoid using passwords in plain text.
 
ok I figured it out, I found how to sudo with the user without prompting for a password.

Just for Future Reference:
Code:
<username>   localhost = NOPASSWD:</path/cmd1>,</path/cmd2>,etc.. PASSWD:</path/cmd3>
 
Oops forgot to mention that is in the /etc/sudoers file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top