On 15 Feb 2002, Mahesh  Gharat wrote:

> open /etc/passwd and make uid 0 for that non-root user.

not a good idea.  when that new user tries to change his password, it 
will change root's password, but not his.  This is so because passwd 
checks the uid, and looks in /etc/passwd for first account with that 
uid.

Basic answer is don't give any other user root privilidges.  If a user 
needs some kind of installation privilidges, put him in the wheel group.  
Also configure pam to use the wheel module.

Alternately, sudo can be used.


-- 
If you are smart enough to know that you're not smart enough to be an
Engineer, then you're in Business.

_______________________________________________
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to