[patch] LOCKED_PASSWD_STRING for FreeBSD

Senthil Kumar senthilkumar_sen at hotpop.com
Wed Oct 5 21:24:09 EST 2005


Senthil kumar wrote:-
> 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.

If thts the case I hope the attached patch may honour locked accounts in 
freebsd.

Thnx,
Senthil Kumar. 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: freebsd_LOCKED_PASSWD_SUBSTR.txt
Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20051005/1add20a1/attachment.txt 


More information about the openssh-unix-dev mailing list