Hi Alben,

On Thu, May 09, 2002 at 06:19:05PM +0800, alben b. alteza wrote:
> 
> Does anybody know how to make a user account in linux which can
> make another user account or simply can make use of the command
> useradd ?

Add this line in /etc/sudoers to allow the user named "addadmin"
to run useradd via sudo:

addadmin ALL= NOPASSWD: /usr/sbin/useradd

> Does anybody know how to make a user account which can do any
> root account can do? Specifically can restart services.

Add this line in /etc/sudoers to allow the user named "rootuser"
to run any command as root via sudo:

/etc/sudoers:
rootuser ALL= NOPASSWD: ALL

        Mike
-- 
Linux morgan 2.4.19-pre7-ac3 #1 Fri May 3 00:39:14 PHT 2002 i686 unknown
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to