questions about /etc/shadow
steve at focb.co.nz
Tue Oct 9 06:03:20 UTC 2007
Gaddis, Jeremy L. wrote:
> On 10/8/07, tech user <techwww at yahoo.com.cn> wrote:
>> what's the difference between these two passwd fields in /etc/shadow?
>> that's to say,what does '*' mean and what does '!!' mean in /etc/shadow?
> The asterisk means that no logons are permitted from that account.
> Any attempt to login with the nobody account would fail.
Actually, anything that is NOT a valid crypted string (DES/md5/whatever)
and is NOT blank will cause the account to be 'locked'. Various
operating systems have different conventions for example, Solaris likes
to use *LK* as the string, but there is no firm convention.
More information about the redhat-list