The shadow tag has no wiki summary.
1
vote
3answers
127 views
Why isn't there standard library to modify /etc/{passwd, shadow}?
Why doesn't glibc provide standard library to modify /etc/passwd and /etc/shadow, i.e add a user, change passwd,
I came to that conclusion because I checked the source code of shadow and failed to ...
1
vote
2answers
2k views
What's the meaning of NP and UP in the password field of the shadow file
I found some entries in a shadow file whose meaning I don't understand.
user:UP:::::::
user1:NP:::::::
What does UP and NP mean? In addition to those 2, the same shadow file has the normal hashed ...
3
votes
1answer
157 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, ...
7
votes
1answer
125 views
Is it normal to have a file called “shadow-” in the /etc directory?
I am noticing a lot of weird files appearing in my router and on my various filesystems. Files in weird places or files that have to do with security with a - sign after them.
If I do ls -l ...
4
votes
2answers
1k 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
197 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 ...
1
vote
1answer
196 views
Why the inode value of shadow file changes?
I created a hard link for the shadow file. For removing the passwd of the user I opened the shadow file in vi editor and removed the encrypted passwd and then saved. The inode value of the shadow file ...
4
votes
2answers
535 views
Second field in /etc/shadow
If the second field of the /etc/shadow file is set to !!, does it mean that the account is disabled? Or does it mean that the account is active with no password assigned?
