Results 1 to 3 of 3
I try to run sudo in gentoo, but I get this error message: benny@tux ~ $ sudo poweroff sudo: can't open /etc/sudoers: Permission denied benny@tux ~ $ sendmail: Cannot open ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-20-2006 #1
- Join Date
- Jan 2005
sudo problems in Gentoo
benny@tux ~ $ sudo poweroff
sudo: can't open /etc/sudoers: Permission denied
benny@tux ~ $ sendmail: Cannot open mail:25
Can anyone help me?
- 01-20-2006 #2It may be that your sole purpose in life is simply to serve as a warning to others.
- 01-27-2006 #3
- Join Date
- Jan 2006
My solution to a problem with the same symptomsOriginally Posted by benjo417
I experienced similar symptoms with a fresh installation of Gentoo Linux 2005.1.
After reading http://www.sudo.ws/pipermail/sudo-us...ry/002395.html , I suspected that my root directory (i.e., /) had incorrect permissions. Try running chmod 0755 / as root to fix the problem.
As the forum post explains, sudo attempts to email the system administrator upon the most egregious errors. Thus sudo attempts to activate sendmail (clearly not installed).