1 |
On Mon, 2007-09-17 at 13:30 -0400, Ryan Sims wrote: |
2 |
> This is just triage, but what are the permissions on /etc/passwd? |
3 |
|
4 |
$ /bin/ls |
5 |
-l /etc/passwd* /etc/shadow* /etc/group* /etc/gshadow* /usr/bin/chage |
6 |
-rw-r--r-- 1 root root 1404 2007-09-08 17:39 /etc/group |
7 |
-rw------- 1 root root 1389 2007-06-30 23:15 /etc/group- |
8 |
-rw------- 1 root root 1203 2007-07-19 18:37 /etc/gshadow |
9 |
-rw------- 1 root root 1190 2007-06-23 09:12 /etc/gshadow- |
10 |
-rw-r--r-- 1 root root 3161 2007-09-12 11:51 /etc/passwd |
11 |
-rw------- 1 root root 3209 2007-09-08 17:39 /etc/passwd- |
12 |
-rw------- 1 root root 1233 2007-09-12 20:10 /etc/shadow |
13 |
-rw------- 1 root root 1290 2007-09-08 17:39 /etc/shadow- |
14 |
-rws--x--x 1 root root 36944 2007-09-12 10:56 /usr/bin/chage |
15 |
|
16 |
|
17 |
Actually, /etc/gshadow wasn't root-writable for some reason. I did a |
18 |
'chmod u+w' but still get "chage: can't open password file". |
19 |
|
20 |
BTW, this happens whether I'm running as user or root. |
21 |
|
22 |
-- |
23 |
gentoo-user@g.o mailing list |