[patch] LOCKED_PASSWD_STRING for FreeBSD

Senthil Kumar senthilkumar_sen at hotpop.com
Wed Oct 5 19:55:39 EST 2005


Darren wrote:
> Jeremie Le Hen wrote:
>> Hi,
>>
>>>> The manpage had been unclear about this for a long time, up to
>>>> 5.x days.  Since 6.x, it has been made clearer, and thanks
>>>> to Ceri Davies who highlighted this feature in OpenSSH, I
>>>> made this patch.
>>> Patch looks OK.  Which FreeBSD man page(s) document the behaviour?
>>
>> Sorry, it is passwd(5).
>
> I can't see any mention on the web page:
> http://www.freebsd.org/cgi/man.cgi?query=passwd&sektion=5&manpath=FreeBSD+6.0-current
>
> Creating a locked user via adduser on FreeBSD 5.3 give the following
> entry in master.passwd:
> testu:*LOCKED*$1$wgpYdQ8Z$2H3SbvgLmQVV9zDxhSgtp/:[...]
>
> Is this version dependant?  Or tool-dependant?

I think it is pw(8) that do this locking in freebsd and also documented the 
behaviour.

      pw lock username did it for me.

Thanks,
Senthil Kumar. 





More information about the openssh-unix-dev mailing list