open /etc/passwd and make uid 0 for that non-root user.
On Fri, 15 Feb 2002 akshaysalkar wrote :
how to give root privelages to non-root users? Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in
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.