"*" is the traditional way to lock an account.
A password with "*" (in either /etc/passwd or in /etc/shadow) will
never match crypt for actual input.


"!" is probably carried over from 'pwconv' processing on a mixed
/etc/passwd file (some entries converted, others not).
I see it all the time and just ignore it, because "!" in /etc/shadow
also renders the password unusable.
("!" in /etc/passwd is a key that says to look in /etc/shadow.)






On 12/7/08, Tomoyuki <[EMAIL PROTECTED]> wrote:
> In my Client's SuSE 9.0 on System Z, /etc/shadow contains either ! or *
> in its account password parameter.
>
> for example:
> ! are at, ntp, wnn, postfix
> * are bin, daemon, ftp, uucp, mail,
>
> Most of the Linux Documents say, "if the value is ! or *, the account is
> locked and the user is not allowed to log in. ".
>
> I understand both ! and * accounts are locked and unabled to login. But
> what are the differences?
>
>
> Tomoyuki Yatsunami
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>

--
Sent from Gmail for mobile | mobile.google.com

-- R;   <><

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to