Re: Problem with sudo
marceluda <[email protected]> Wed, 24 Aug 2005 11:53:44 -0300
| Newsgroups | gmane.linux.gentoo.admin |
|---|---|
| Message-ID | <[email protected]> |
Here limm find the solution on the gentoo foros http://forums.gentoo.org/viewtopic-p-2651927.html#2651927 It's a bug on the 2005.1 tarball the solution: # chmod 755 / Thanks everyone for the help marceluda Nerdvana - Steve Walsh wrote: > marc; > > You may have the immutable bit set on sudoers. What is the result of a > > ls -sail /etc/sudoers > > Regards > > Steve > -----Original Message----- > From: marceluda [mailto:[email protected]] > Sent: Wednesday, 24 August 2005 11:17 PM > To: [email protected] > Subject: [gentoo-admin] Problem with sudo > > > Hello, I'm new in the list and I don't know if this is the placefor askin > about a strange problem > I'm having. > > 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 > > PS: Sorry for my bad english > -- > [email protected] mailing list > > -- [email protected] mailing list