1
vote
1answer
22 views

HOWTO check if a user account is blocked against /etc/shadow

After set the Account Expire parameter on /etc/shadow (field #7) to 90 days,I need to know where to look around if an user account is locked down or not after those amount of days. Right now, the ...
3
votes
1answer
214 views

Can linux use a mix of SHA-1 and CRYPT passwords?

We have an automated sync-routine that uses useradd to create new users on a Ubuntu 10.04 machine. The application launching the routine provided both username and CRYPT-encrypted password. However, ...
4
votes
2answers
2k views

/etc/shadow and /etc/passwd format compatibility

Are formats of files /etc/shadow and /etc/passwd same on all unix and unix-like systems same or are there significant differences? I mean syntax of files, not file location or name
4
votes
3answers
522 views

Extract dates from /etc/shadow

The file /etc/shadow has a couple date fields that are expressed as the number of days since Jan 1, 1970. Is there an easy way using to get a list of users and the calendar date of the last password ...