View Full Version : ONE more PRob
champ_rock
16-10-2005, 01:24 PM
ok guys (fc4)
when i run sudo in normal mode... it asks for my pass and then it says Sorry try again.
It does not log me in.. but that pass works fine when i log in as root...
also that pass runs fine...when i use a gui network editor or package manager something...
alib_i
16-10-2005, 02:19 PM
sudo isnt what you think. it's not a shortcut command for bypassing the task of typing "su<enter> <rootpassw>"
sudo is helpful when a many system administrators are monitoring a system. Giving away root password to everyone isnt a good idea. Instead each user can execute a command as a superuser using sudo command and then typing in his own password ( not root passw ). Whether or not a user have rights to use sudo commd is determined by /etc/sudoers configuration file.
Read more: http://www.linuxhomenetworking.com/linux-hn/addusers.htm#_Toc92808558
-----
alibi
vignesh
16-10-2005, 04:07 PM
Try the su command to login as root from another user`s login.
champ_rock
16-10-2005, 06:40 PM
ok i thought sudo gave u super users (root) priveleges....
the su thing works
alib_i
16-10-2005, 10:20 PM
ohh .. you didnt knew about the "su" command kya ??
i wrote that explanation above thinking that you already knew it :) :)
-----
alibi
champ_rock
17-10-2005, 01:04 PM
i did not know that su was different from sudo...
i was aware of the both commands but considered them synonymous...
but thanks anyways... i can log in as root using the su...
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.