On Tue, May 27, 2003 at 10:04:20PM +1100, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> [EMAIL PROTECTED] wrote on 05/27/2003 06:19:13 PM:
> 
> > 
> > all,
> > 
> > when reading the man pages for shadow/passwd/crypt (3,5) you cannot find
> > an explanation of the "!!" in the password field of the shadow file.
> > I know what "*" means, but I cannot find "!!".
> > 
> > So, what does it mean?
> > 
> >From Shadow man 5.
> If the  password  field  contains  some string that is not valid result of 
> crypt(3), for instance ! or *, the user will not be able to use a unix 
> password to log in, subject to pam(7).

I had trouble finding answers on google until I searched for
"double exclamation shadow passwd" instead "!! shadow passwd" or "\!\! shadow passwd".
I go the answer:

   When the asterisk is there, nothing can match it.

   An exclamation mark means a password (or account) is locked via
   usermod(8). Also, a single exclamation marks means that a account is not
   allowed for logins. So a double exclamation makes sure that if it was
   unlocked, it would still have an invalid passwd.

   They simply mean that no password is available (you can't login remotely
   with a password for these accounts).



jobst



-- 
best accelerated mac = 9.8 m/(s*s)

             __, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director
   _ _.--'-n_/   Barrett Consulting Group P/L & The Meditation Room P/L      
 -(_)------(_)=  +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to