On Fri, 2001-11-23 at 00:15, Travis McCarter wrote:
> If you want another user to have full root privelages, you can edit the
> /etc/passwd file and manually create a user with the UID of '0'.   This will
> in fact make another user a root user.

IMHO, that's a poor solution and is setting you up for disaster.

You should really have a look at sudo - this allows you to customize
which users can execute which commands.  For example, you can allow user
'foo' to be able to run useradd, userdel, usermod, but not allow foo to
do things like shut your system down, delete /etc, and other privileged
functions.

 http://www.courtesan.com/sudo/

You should never allow a user to run as root except when actually
performing functions that require root.  Doing otherwise could allow
viruses or trojans in if you're not *VERY* careful.

        .../Ed

> -----Original Message-----

> how can an user other than root can be given permissions
> for account creation, deletion, password changing, etc.
> 
> error for a normal user:
> 
> chpasswd: can't lock password file
> 
> err... newbie question ??
> 
> ---------------------------------------------
> Rupendra Singh      <http://rupendra.s5.com/>
> Student MCA-5th sem     KIET Ghaziabad, India
> ---------------------------------------------

> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to