Gentoo Archives: gentoo-admin

From: Nerdvana - Steve Walsh <S.walsh@××××××××××××.au>
To: gentoo-admin@l.g.o
Subject: RE: [gentoo-admin] Problem with sudo
Date: Wed, 24 Aug 2005 15:08:40
Message-Id: FAEALJLFFJCKIEBGIIEHCENPDNAA.S.walsh@nerdvana.com.au
In Reply to: Re: [gentoo-admin] Problem with sudo by marceluda
1 Marc;
2
3 Ownership and permissions look ok. What user are you attempting to run sudo
4 as? Are they in the wheel group? What entry do you have for the wheel group?
5
6 Steve
7
8 -----Original Message-----
9 From: marceluda [mailto:marceluda@×××××××××.ar]
10 Sent: Thursday, 25 August 2005 12:44 AM
11 To: gentoo-admin@l.g.o
12 Subject: Re: [gentoo-admin] Problem with sudo
13
14
15 Here it is:
16
17 magi ~ # ls -sail /etc/sudoers
18 14811 4 -r--r----- 1 root root 1645 Aug 24 10:27 /etc/sudoers
19
20
21 Nerdvana - Steve Walsh wrote:
22 > marc;
23 >
24 > You may have the immutable bit set on sudoers. What is the result of a
25 >
26 > ls -sail /etc/sudoers
27 >
28 > Regards
29 >
30 > Steve
31 > -----Original Message-----
32 > From: marceluda [mailto:marceluda@×××××××××.ar]
33 > Sent: Wednesday, 24 August 2005 11:17 PM
34 > To: gentoo-admin@l.g.o
35 > Subject: [gentoo-admin] Problem with sudo
36 >
37 >
38 > Hello, I'm new in the list and I don't know if this is the placefor askin
39 > about a strange problem
40 > I'm having.
41 >
42 > I finished a clean instalation of gentoo 2005.1 from the CD in a pentium4
43 > machine.
44 > I installed sudo (emerge app-admin/sudo) and tryed tu use it but I get the
45 > following error:
46 >
47 > magi ~ # sudo
48 > sudo: can't open /etc/sudoers: Permission denied
49 > sendmail: Cannot open mail:25
50 >
51 > From any user, even from root. The file perms are ok:
52 >
53 > magi ~ # ls -l /etc/sudoers
54 > -r--r----- 1 root root 1645 Aug 24 09:41 /etc/sudoers
55 >
56 > I used the following USE params in the installation:
57 >
58 > CFLAGS="-O2 -march=pentium3"
59 > CHOST="i686-pc-linux-gnu"
60 > CXXFLAGS="${CFLAGS}"
61 > USE="acl bzip2 cdr chroot clamav clamd clanJavaScript dvd dvdr elf
62 ethereal
63 > extensions iconv libclamav maildir md5sum memlimit mpm-worker
64 > no-htdocs openntpd openssh openssl qmail rar reiserfs savedconfig
65 > screen smp spamassassin sse sysfs vhosts vim-pager virus-scan
66 > vpopmail xfs -X -avi -berkdb -bitmap-fonts -emboss -gnome -gtk
67 > -gtk2 -ipv6 -kde -mad -mikmod -mp3 -mpeg -oggvorbis -opengl -qt
68 > -quicktime -truetype -truetype-fonts -type1-fonts -xmms"
69 >
70 > I don't know if one of these USEs can affect the instalation, I think not,
71 > because sudo only uses:
72 > [ebuild R ] app-admin/sudo-1.6.8_p9 -ldap -offensive +pam -skey 0 kB
73 >
74 > Can anybody help me?
75 >
76 > marceluda
77 >
78 > PS: Sorry for my bad english
79 > --
80 > gentoo-admin@g.o mailing list
81 >
82 >
83
84 --
85 gentoo-admin@g.o mailing list
86
87
88 --
89 gentoo-admin@g.o mailing list