Hi,
Edit the /etc/sudousers file by "visudo" command as root.
In this file below User_Alias specification, give the user name to make
superuser like the one below :-
User_Alias ADMINS = username
Also write below root :
ALL = (ALL) ALL
ADMINS ALL = ALL
Thats it. Now save and quit. If no errer occurs, then it will definitely work.
To check the configuration, login as that user and write :
sudo -l
It will prompt you for the password. Specify and check the output.
For any further help, you can always check man sudo
Cheers!
Amar
Ritesh Agrawal <[EMAIL PROTECTED]> wrote:
quick and dirty trick....
assign gid 0 for that user in /etc/passwd file... now you have 2 superuser .
nw_atripathi <[EMAIL PROTECTED]> wrote:
hello buddies
Can ny buddy tell me how to assign root privilages to a normal user
account in linux
I hav tried doing so by providing ALL=ALL(ALL) in sudo.conf present in
da /etc folder but it dosn't works so plzz tell me where I am wrong n
how to do so
Thanks
Ritesh Agrawal
---------------------------------
Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and
get things done faster.
---------------------------------
Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it
NOW