Re: [patch] LOCKED_PASSWD_STRING for FreeBSD

This is a discussion on Re: [patch] LOCKED_PASSWD_STRING for FreeBSD within the OpenSSH Development forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------=_NextPart_000_4809_01C5C9CD.677C3880 Content-Type: text/plain; format=flowed; charset="iso-...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-05-2005
Senthil Kumar
 
Posts: n/a
Default Re: [patch] LOCKED_PASSWD_STRING for FreeBSD

This is a multi-part message in MIME format.

------=_NextPart_000_4809_01C5C9CD.677C3880
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
reply-type=original
Content-Transfer-Encoding: 7bit

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?q...SD+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.

------=_NextPart_000_4809_01C5C9CD.677C3880
Content-Type: text/plain; format=flowed;
name="freebsd_LOCKED_PASSWD_SUBSTR.txt"; reply-type=original
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="freebsd_LOCKED_PASSWD_SUBSTR.txt"

Index: configure.ac
================================================== =================
RCS file: /cvs/openssh/configure.ac,v
retrieving revision 1.296
diff -u -p -u -r1.296 configure.ac
--- configure.ac 22 Sep 2005 10:19:54 -0000 1.296
+++ configure.ac 4 Oct 2005 21:59:01 -0000
@@ -398,6 +398,7 @@ mips-sony-bsd|mips-sony-newsos4)
;;
*-*-freebsd*)
check_for_libcrypt_later=1
+ AC_DEFINE(LOCKED_PASSWD_SUBSTR, "*LOCKED*")
;;
*-*-bsdi*)
AC_DEFINE(SETEUID_BREAKS_SETUID)

------=_NextPart_000_4809_01C5C9CD.677C3880
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev

------=_NextPart_000_4809_01C5C9CD.677C3880--


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0