![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| useradd | earlysame55 | Shell Programming and Scripting | 4 | 08-28-2007 12:37 PM |
| [ksh] useradd | chodaboy | UNIX for Dummies Questions & Answers | 3 | 06-30-2006 09:24 AM |
| useradd question | thumper | UNIX for Dummies Questions & Answers | 1 | 03-14-2006 02:54 PM |
| useradd | Selma | SUN Solaris | 4 | 06-13-2005 07:33 AM |
| useradd | ortsvorsteher | UNIX for Dummies Questions & Answers | 6 | 05-30-2002 03:28 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
useradd
Hi.
due to some needs i gave a user the premission to use useradd command with sudo. i want to know if there is a way to let him set the initial password, without giving him the premission to use passwd command as root (sudo). maybe a way to set a default password for all the new users that created???? BTW - im using sun-solaris 8. Dori |
|
||||
|
modify your sudoers file so that your
users can run command /usr/bin/passwd and /usr/sbin/userradd so your /etc/sudoers file might look like # User alias specification User_Alias HELPDESK = userA, userB, userC, UserD # Cmnd alias specification Cmnd_Alias ADMIN = /usr/bin/passwd /usr/sbin/useradd # User privilege specification HELPDESK ALL=ADMIN when userA login in userA can set password by issuing sudo passwd "username" userB, userC and userD can also set password without the for root access |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|