!! as password?

This is a discussion on !! as password? within the Linux Security forums, part of the System Security and Security Related category; Hi, a * as password means that a user can't authenticate with a password, what does a "!!" string ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-30-2003
Gregor Rot
 
Posts: n/a
Default !! as password?

Hi, a * as password means that a user can't authenticate with a
password, what does a "!!" string as password means in the /etc/shadow
file ... ?

tnx,
Greg

Reply With Quote
  #2 (permalink)  
Old 10-30-2003
Jure Krasovic
 
Posts: n/a
Default Re: !! as password?

It disable login for user.

Best regards!

Jure

Gregor Rot pravi:
> Hi, a * as password means that a user can't authenticate with a
> password, what does a "!!" string as password means in the /etc/shadow
> file ... ?
>
> tnx,
> Greg
>


Reply With Quote
  #3 (permalink)  
Old 10-30-2003
Volker Birk
 
Posts: n/a
Default Re: !! as password?

Gregor Rot <zara4tustra@yahoo.com> wrote:
> Hi, a * as password means that a user can't authenticate with a
> password, what does a "!!" string as password means in the /etc/shadow
> file ... ?


man shadow tells us:

"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)."

VB.
--
X-Pie Software GmbH
Postfach 1540, 88334 Bad Waldsee
Phone +49-7524-996806 Fax +49-7524-996807
mailto:vb@x-pie.de http://www.x-pie.de
Reply With Quote
  #4 (permalink)  
Old 10-30-2003
Gregor Rot
 
Posts: n/a
Default Re: !! as password?

Volker Birk wrote:
> Gregor Rot <zara4tustra@yahoo.com> wrote:
>
>>Hi, a * as password means that a user can't authenticate with a
>>password, what does a "!!" string as password means in the /etc/shadow
>>file ... ?

>
>
> man shadow tells us:
>
> "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)."
>
> VB.


thank you - but then again, why some system accounts on Mandrake have !!
and some others * as the password in /etc/shadow? Is there a difference?

tnx,
Greg

Reply With Quote
  #5 (permalink)  
Old 10-30-2003
Peter Makholm
 
Posts: n/a
Default Re: !! as password?

Gregor Rot <zara4tustra@yahoo.com> writes:

> thank you - but then again, why some system accounts on Mandrake have
> !! and some others * as the password in /etc/shadow? Is there a
> difference?


No. The important thing it that it is something never returned by
crypt.

--
Peter Makholm | The four letter word beginning with L?
peter@makholm.net | It's life, love, libc or lisp
http://hacking.dk | -- Depending on you point of view
Reply With Quote
  #6 (permalink)  
Old 10-30-2003
Volker Birk
 
Posts: n/a
Default Re: !! as password?

Gregor Rot <zara4tustra@yahoo.com> wrote:
> but then again, why some system accounts on Mandrake have !!
> and some others * as the password in /etc/shadow?


Because.

> Is there a difference?


No.

VB.
--
X-Pie Software GmbH
Postfach 1540, 88334 Bad Waldsee
Phone +49-7524-996806 Fax +49-7524-996807
mailto:vb@x-pie.de http://www.x-pie.de
Reply With Quote
  #7 (permalink)  
Old 10-30-2003
Dimitri Maziuk
 
Posts: n/a
Default Re: !! as password?

Peter Makholm sez:
> Gregor Rot <zara4tustra@yahoo.com> writes:
>
>> thank you - but then again, why some system accounts on Mandrake have
>> !! and some others * as the password in /etc/shadow? Is there a
>> difference?

>
> No.


Interesting. Presumably they don't use the same lock string
everywhere just to confuse us?

Dima (there is a difference between "NP" and "LK" on Solaris)
--
Yes, Java is so bulletproofed that to a C programmer it feels like being in a
straightjacket, but it's a really comfy and warm straightjacket, and the world
would be a safer place if everyone was straightjacketed most of the time.
-- Mark 'Kamikaze' Hughes
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:46 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0