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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |