1 |
Hi group, |
2 |
|
3 |
I connect to the web using |
4 |
|
5 |
$sudo /usr/sbin/pon <isp> |
6 |
|
7 |
on one machine(2.6.20-gentoo-r6). On another |
8 |
machine(2.6.19-gentoo-r5), I get |
9 |
|
10 |
:sudo: can't open /etc/sudoers: Permission denied. |
11 |
|
12 |
But both files have identical permissions: |
13 |
|
14 |
heathen@localhost ~ $ ls -l /etc/sudoers |
15 |
-r--r----- 1 root root 1875 Feb 3 21:14 /etc/sudoers |
16 |
|
17 |
picky@localhost ~ $ ls -l /etc/sudoers |
18 |
-r--r----- 1 root root 1717 May 23 16:38 /etc/sudoers |
19 |
|
20 |
I used visudo on both machines and wrote identical |
21 |
lines in each: |
22 |
|
23 |
heathen localhost = (root) NOPASSWD: /usr/sbin/pon hd |
24 |
heathen localhost = (root) NOPASSWD: /usr/sbin/poff hd |
25 |
|
26 |
usernames of course are different. All other lines are |
27 |
exact matches. |
28 |
|
29 |
The non-compliant machine connects but only as root. |
30 |
|
31 |
This is /etc/group from the machine that works. The |
32 |
'wheel', 'dialout', 'users', 'root', 'bin', 'daemon', |
33 |
'sys', 'adm'... lines are the same on both machines: |
34 |
|
35 |
|
36 |
root:x:0:root |
37 |
bin:x:1:root,bin,daemon |
38 |
daemon:x:2:root,bin,daemon |
39 |
sys:x:3:root,bin,adm |
40 |
adm:x:4:root,adm,daemon |
41 |
tty:x:5: |
42 |
disk:x:6:root,adm |
43 |
lp:x:7:lp |
44 |
mem:x:8: |
45 |
kmem:x:9: |
46 |
wheel:x:10:root,heathen |
47 |
floppy:x:11:root |
48 |
mail:x:12:mail |
49 |
news:x:13:news |
50 |
uucp:x:14:uucp |
51 |
man:x:15:man |
52 |
cron:x:16:cron |
53 |
console:x:17: |
54 |
audio:x:18:heathen |
55 |
cdrom:x:19:heathen |
56 |
dialout:x:20:root |
57 |
ftp:x:21: |
58 |
sshd:x:22: |
59 |
at:x:25:at |
60 |
tape:x:26:root |
61 |
video:x:27:root,heathen |
62 |
squid:x:31:squid |
63 |
gdm:x:32:gdm |
64 |
xfs:x:33:xfs |
65 |
games:x:35: |
66 |
named:x:40:named |
67 |
mysql:x:60: |
68 |
postgres:x:70: |
69 |
cdrw:x:80:heathen |
70 |
nut:x:84: |
71 |
usb:x:85:heathen |
72 |
vpopmail:x:89: |
73 |
users:x:100:games,heathen |
74 |
nofiles:x:200: |
75 |
qmail:x:201: |
76 |
postfix:x:207: |
77 |
postdrop:x:208: |
78 |
smmsp:x:209:smmsp |
79 |
slocate:x:245: |
80 |
portage:x:250:portage,heathen |
81 |
utmp:x:406: |
82 |
nogroup:x:65533: |
83 |
nobody:x:65534: |
84 |
rpc:x:111: |
85 |
ldap:x:439: |
86 |
|
87 |
Don't know what else to show the group :( |
88 |
|
89 |
-Maxim |
90 |
|
91 |
|
92 |
|
93 |
|
94 |
____________________________________________________________________________________You snooze, you lose. Get messages ASAP with AutoCheck |
95 |
in the all-new Yahoo! Mail Beta. |
96 |
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html |
97 |
-- |
98 |
gentoo-user@g.o mailing list |