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-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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-- |