Tuesday, August 19, 2008

Ubuntu Problem using sudo : /etc/sudoers

hi all

some of my frnds got problems using sudo command.. whether it is :
sudo: must be setuid root
or it may be like

/etc/sudoers should have permission set to 0440
both cases can be solved with the following way..
restart your computer to open in recovery mode
switch to root prompt and use these commands..


chown root:root /usr/bin/sudo

chmod 4755 /usr/bin/sudo
chmod 0440 /etc/sudoers
init 6

now problem is solved...

See Also :Ubuntu : UserName is not in the sudoers file. This incident will be reported.
enjoy..

----------------------------------------------------Ravi kumar gupta -aka- D'Maverick
"Progress isn't made by early risers. It's made by lazy men trying to find
easier ways to do something."
TechD of Computer World
---------------------------------------------------

No comments: