On Monday 17 September 2007, Albert Hopkins wrote: > On Mon, 2007-09-17 at 13:30 -0400, Ryan Sims wrote: > > This is just triage, but what are the permissions on /etc/passwd? > > $ /bin/ls > -l /etc/passwd* /etc/shadow* /etc/group* /etc/gshadow* /usr/bin/chage > -rw-r--r-- 1 root root 1404 2007-09-08 17:39 /etc/group > -rw------- 1 root root 1389 2007-06-30 23:15 /etc/group- > -rw------- 1 root root 1203 2007-07-19 18:37 /etc/gshadow > -rw------- 1 root root 1190 2007-06-23 09:12 /etc/gshadow- > -rw-r--r-- 1 root root 3161 2007-09-12 11:51 /etc/passwd > -rw------- 1 root root 3209 2007-09-08 17:39 /etc/passwd- > -rw------- 1 root root 1233 2007-09-12 20:10 /etc/shadow > -rw------- 1 root root 1290 2007-09-08 17:39 /etc/shadow- > -rws--x--x 1 root root 36944 2007-09-12 10:56 /usr/bin/chage > > > Actually, /etc/gshadow wasn't root-writable for some reason. I did a > 'chmod u+w' but still get "chage: can't open password file". > > BTW, this happens whether I'm running as user or root.
What does stracing the program show? -- [EMAIL PROTECTED] mailing list