Security Basics mailing list archives

Re: What's the difference between !! and * at /etc/shadow file?


From: Jeff MacDonald <jam () zoidtechnologies com>
Date: Fri, 13 May 2005 10:20:12 -0400

On Thu, May 12, 2005 at 07:50:29AM +0000, Monty Ree wrote:
Hello, all.

I have found that  !! and * exist at /etc/shadow file.
and I know that !! is inserted when I lock the user,then what's the 
difference with * ?
Some user is !! but others * at shadow file like below..

daemon:*
sshd:!!:



well, there is no way that md5() or crypt() will spit out a "*" or "!!" as
output.

I am guessing that the "!!" in the password field is checked for
specifically by /bin/login (or equiv.).

hope that helps :)

regards,
J


Current thread: