Ok the mystery continues. On another box, strider, "chage -l" works so
this is what I did (don't try this at home):

        $ mkdir /tmp/strider_passwd
        $ scp strider:/etc/passwd /tmp/strider_passwd
        $ scp strider:/etc/shadow /tmp/strider_passwd
        $ mv /etc/passwd /etc/passwd.orig
        $ mv /etc/shadow /etc/shadow.orig
        $ mv /tmp/strider_passwd/passwd /etc
        $ mv /tmp/strider_passwd/shadow /etc
        $ ls -l /etc/passwd /etc/shadow
        -rw-r--r-- 1 root root 1314 2007-09-18 16:23 /etc/passwd
        -rw------- 1 root root  625 2007-09-18 16:23 /etc/shadow
        $ chage -l marduk
        chage: can't open password file

I'm running out of ideas.  This used to work up until about a month ago.

BTW I was going to try also copying group/gshadow from strider but, oddly 
enough,
strider doesn't have an /etc/gshadow.


-- 
[EMAIL PROTECTED] mailing list

Reply via email to