On 2005-06-06 15:51 +0200, [EMAIL PROTECTED] wrote: > I can't seem to find any official documentation on /etc/shadow syntax. > Searching google I find loads of conflicting explantions of the meaning of > x,!,!!,* in the password field.
The given password is encrypted, and then compared to whatever is in the password field in /etc/shadow (or /etc/passwd). If they match, the password is valid. So entering anything that cannot be valid into the password field means that no password will be valid. Whether you choose to use x, !, !!, * or some other variant is up to you. Yes, "x" works in this case too since it is too short to be a salt followed by an encrypted password. -- Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/ * ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments * * ..... No bird soars too high if he soars with his own wings ..... * *** Software patents hinder progress - see http://swpat.ffii.org/ ***
pgpLo0ttg5RjT.pgp
Description: PGP signature