public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] two identical /etc/sudoers -- only one works
@ 2007-05-24  1:14 maxim wexler
  2007-05-24 22:00 ` Walter Dnes
  0 siblings, 1 reply; 21+ messages in thread
From: maxim wexler @ 2007-05-24  1:14 UTC (permalink / raw
  To: gentoo-user

Hi group,

I connect to the web using

$sudo /usr/sbin/pon <isp> 

on one machine(2.6.20-gentoo-r6). On another
machine(2.6.19-gentoo-r5), I get

:sudo: can't open /etc/sudoers: Permission denied.

But both files have identical permissions:

heathen@localhost ~ $ ls -l /etc/sudoers
-r--r----- 1 root root 1875 Feb  3 21:14 /etc/sudoers

picky@localhost ~ $ ls -l /etc/sudoers
-r--r----- 1 root root 1717 May 23 16:38 /etc/sudoers

I used visudo on both machines and wrote identical
lines in each:

heathen localhost = (root) NOPASSWD: /usr/sbin/pon hd
heathen localhost = (root) NOPASSWD: /usr/sbin/poff hd

usernames of course are different. All other lines are
exact matches.

The non-compliant machine connects but only as root.

This is /etc/group from the machine that works. The
'wheel', 'dialout', 'users', 'root', 'bin', 'daemon',
'sys', 'adm'... lines are the same on both machines:


root:x:0:root
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,adm,daemon
tty:x:5:
disk:x:6:root,adm
lp:x:7:lp
mem:x:8:
kmem:x:9:
wheel:x:10:root,heathen
floppy:x:11:root
mail:x:12:mail
news:x:13:news
uucp:x:14:uucp
man:x:15:man
cron:x:16:cron
console:x:17:
audio:x:18:heathen
cdrom:x:19:heathen
dialout:x:20:root
ftp:x:21:
sshd:x:22:
at:x:25:at
tape:x:26:root
video:x:27:root,heathen
squid:x:31:squid
gdm:x:32:gdm
xfs:x:33:xfs
games:x:35:
named:x:40:named
mysql:x:60:
postgres:x:70:
cdrw:x:80:heathen
nut:x:84:
usb:x:85:heathen
vpopmail:x:89:
users:x:100:games,heathen
nofiles:x:200:
qmail:x:201:
postfix:x:207:
postdrop:x:208:
smmsp:x:209:smmsp
slocate:x:245:
portage:x:250:portage,heathen
utmp:x:406:
nogroup:x:65533:
nobody:x:65534:
rpc:x:111:
ldap:x:439:

Don't know what else to show the group :(

-Maxim



       
____________________________________________________________________________________You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 21+ messages in thread
[parent not found: <20070530001052.GA24190@waltdnes.org>]

end of thread, other threads:[~2007-05-30  1:46 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-24  1:14 [gentoo-user] two identical /etc/sudoers -- only one works maxim wexler
2007-05-24 22:00 ` Walter Dnes
2007-05-25  3:24   ` maxim wexler
2007-05-25 18:16   ` [gentoo-user] " Christer Ekholm
2007-05-25 23:34     ` maxim wexler
2007-05-26  0:19       ` Christer Ekholm
2007-05-26  3:14         ` maxim wexler
2007-05-26  5:40           ` Boyd Stephen Smith Jr.
2007-05-26 20:37             ` maxim wexler
2007-05-26 21:31           ` Christer Ekholm
2007-05-26 23:29             ` maxim wexler
2007-05-27  0:05               ` Christer Ekholm
2007-05-27  0:14                 ` Arturo 'Buanzo' Busleiman
2007-05-27  0:12               ` Christer Ekholm
2007-05-27  2:33                 ` maxim wexler
2007-05-27 10:59                   ` Christer Ekholm
2007-05-27 17:56                     ` maxim wexler
2007-05-29 21:04           ` Paul Varner
2007-05-29 22:05             ` Mick
2007-05-29 23:11               ` Mike Edenfield
     [not found] <20070530001052.GA24190@waltdnes.org>
2007-05-30  1:36 ` maxim wexler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox