cvs commit: src/share/man/man5 passwd.5

Giorgos Keramidas keramida at
Mon Sep 19 05:20:40 PDT 2005

On 2005-09-18 23:24, Ceri Davies <ceri at> wrote:
>On Sun, Sep 18, 2005 at 11:31:09PM +0300, Giorgos Keramidas wrote:
>>On 2005-09-18 20:16, Gavin Atkinson <gavin.atkinson at> wrote:
>>> On Sun, 18 Sep 2005, Giorgos Keramidas wrote:
>>> > Modified files:
>>> >   share/man/man5       passwd.5
>>> > Log:
>>> > Explain the use of `*' in master.passwd and that it's slightly
>>> > different from the use of `*' in /etc/passwd.
>>> +.Nm master.passwd
>>> +file, a password of
>>> +.Ql *
>>> +is used to indicate that no one can ever log into that account.
>>> +The field only contains encrypted passwords, and
>>> +.Ql *
>>> +can never be the result of encrypting a password.
>>> This is not strictly true - all it prevents is logins using passwords.
>>> Passwordless logins using SSH public keys (for example) are unaffected.
> Since "pw lock" has been entering the string '*LOCKED*' for years now,
> is there any reason why this has never been fed back to the OpenSSH
> project for inclusion as LOCKED_PASSWD_STRING for FreeBSD?
> Then we can document that in passwd.5 too and usage can start to
> converge.

Hi Ceri,

The `*' reference above in master.passwd is not really OpenSSH-related.
I think I'm not 100% sure why you were reminded of OpenSSH.  Do you mean
that we should document OpenSSH's and pw's ``*LOCKED*'' convention in
there too?

More information about the cvs-src mailing list