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 #1Just Joined!
- Join Date
- Jan 2005
- Posts
- 3
sudo problems in Gentoo
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 mail:25
Can anyone help me?
/Benny
- 01-20-2006 #2
Before we get into all the possible issues, did you read and follow the Gentoo Sudoer Guide?
It may be that your sole purpose in life is simply to serve as a warning to others.
- 01-27-2006 #3Just Joined!
- Join Date
- Jan 2006
- Posts
- 1
My solution to a problem with the same symptoms
Hi Benny,
Originally 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).
Good luck!


Reply With Quote
