Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with sudo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
marceluda
n00b
n00b


Joined: 24 Aug 2005
Posts: 2
Location: Argentina

PostPosted: Wed Aug 24, 2005 1:30 pm    Post subject: Problem with sudo Reply with quote

I finished a clean instalation of gentoo 2005.1 from the CD in a pentium4 machine.
I installed sudo (emerge app-admin/sudo) and tryed tu use it but I get the following error:

magi ~ # sudo
sudo: can't open /etc/sudoers: Permission denied
sendmail: Cannot open mail:25

From any user, even from root. The file perms are ok:

magi ~ # ls -l /etc/sudoers
-r--r----- 1 root root 1645 Aug 24 09:41 /etc/sudoers

I used the following USE params in the installation:

CFLAGS="-O2 -march=pentium3"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="acl bzip2 cdr chroot clamav clamd clanJavaScript dvd dvdr elf ethereal
extensions iconv libclamav maildir md5sum memlimit mpm-worker
no-htdocs openntpd openssh openssl qmail rar reiserfs savedconfig
screen smp spamassassin sse sysfs vhosts vim-pager virus-scan
vpopmail xfs -X -avi -berkdb -bitmap-fonts -emboss -gnome -gtk
-gtk2 -ipv6 -kde -mad -mikmod -mp3 -mpeg -oggvorbis -opengl -qt
-quicktime -truetype -truetype-fonts -type1-fonts -xmms"

I don't know if one of these USEs can affect the instalation, I think not, because sudo only uses:
[ebuild R ] app-admin/sudo-1.6.8_p9 -ldap -offensive +pam -skey 0 kB

Can anybody help me?

marceluda
Back to top
View user's profile Send private message
limn
l33t
l33t


Joined: 13 May 2005
Posts: 997

PostPosted: Wed Aug 24, 2005 2:04 pm    Post subject: Reply with quote

There are a number of recent posts on this, it is reportedly due to incorrect permissions in the tarball.
Back to top
View user's profile Send private message
marceluda
n00b
n00b


Joined: 24 Aug 2005
Posts: 2
Location: Argentina

PostPosted: Wed Aug 24, 2005 3:00 pm    Post subject: Reply with quote

Very thankyou, now it's all working
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Aug 24, 2005 5:43 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.
See here instead: https://forums.gentoo.org/viewtopic-p-2651927.html#2651927
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum