Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sudo Problems



On Thursday 17 August 2006 7:00 pm, Rob Brown wrote:
> I installed Sudo on my gentoo server and when I attempt to use it, I get
> an error.
>
>
>
> rob ~ $ sudo su
>
> sudo: can't open /etc/sudoers: Permission denied
>
> rob ~ $ sendmail: Cannot open mail:25
In addition to the other replies, the way to get a root command prompt from 
sudu is:
$ sudo -s -H
/etc/sudoers permissions
-rw-r-----  1 root root 790 2005-05-31 15:26 sudoers
-rwsr-xr-x  1 root root 111368 2005-09-09 14:44 /usr/bin/sudo

And don't forget the entries in /usr/lib/sudo:
gaf at sauron:/etc> ls -l /usr/lib/sudo
total 12
-rw-r--r--  1 root root  787 2005-09-09 14:44 sudo_noexec.la
-rwxr-xr-x  1 root root 4904 2005-09-09 14:44 sudo_noexec.so


-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org