|
ginnOS
The reference: libc, the libraries and the kernel
|
the password hashes (/etc/shadow: name:hash:last:min:max:warn: inactive:expire:), which only root can read. More...
Go to the source code of this file.
Data Structures | |
| struct | spwd |
Macros | |
| #define | SHADOW_FILE "/etc/shadow" |
Functions | |
| struct spwd * | getspnam (const char *name) |
| the entry of a user, in a static buffer. | |
the password hashes (/etc/shadow: name:hash:last:min:max:warn: inactive:expire:), which only root can read.
ginnOS uses the name and the hash; the other fields are kept as they are. a hash of "*" or "!" (or one that starts with "!") is a locked account; an empty one needs no password.
| #define SHADOW_FILE "/etc/shadow" |
| struct spwd * getspnam | ( | const char * | name | ) |
the entry of a user, in a static buffer.