You are not logged in.
Pages: 1
According to man page, the password field should contain "invalid result" to prevent to log-in, for instance ! or *.
But in our default shadow file, it contains "x" which is NOT an "invalid result".
Shouldn't we change "x" to "!"?
BR,
bsdson.tw
Offline
do not change it, you will not be able to login then
Offline
From the Linux Shadow Password HOWTO:
The x in the second field in this case is now just a place holder. The format of the /etc/passwd file really didn't change, it just no longer contains the encoded password. This means that any program that reads the /etc/passwd file but does not actually need to verify passwords will still operate correctly.
A '!' in field two disables the account...
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
Pages: 1