[SunHELP] /etc/shadow encrypted passwd field
Yazid
mohd.yazid at gmail.com
Thu Jul 1 07:42:37 CDT 2004
Thanks for the lesson, Dale :)
The reason I asked the question is because I notice that ssh using
publickey behave differently when the account set to *LK*, i.e it will
not let me in.
A quick google search answer my question, obviously someone alraedy
ask the question in this list.
Another lesson learned: "Search Google First".
Thanks,
On Thu, 1 Jul 2004 08:14:13 -0400, Dale Ghent <daleg at elemental.org> wrote:
>
>
> On Jul 1, 2004, at 3:50 AM, Yazid wrote:
>
> > Hello listers,
> > I need some info on the meaning and the difference between *LK*
> > (locked) and NP (no passwd???) on /etc/shadow encrypted passwd field.
> > Seems that login to account with either one is not possible cause we
> > didn't know the real (unencrypted) passwd.
>
> Isn't it obvious, the differences in meaning between LOCKED and NO
> PASSWORD ?
>
> Don't they teach that a * is an invalid character in a crypted password
> string anymore?
>
> If either *LK* or NP exist in the password field of /etc/shadow, then a
> password does not exist for that account and must be set with the
> passwd command.
>
> This is UNIX 101.
>
> /dale
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>
More information about the SunHELP
mailing list