Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2001 07:25:03 -0500
From:      GB Clark II <gclarkii@vsservices.com>
To:        Dmitry Morozovsky <marck@rinet.ru>, William Wong <willwong@samurai.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: adduser and passwords
Message-ID:  <01101207250309.42095@prime.vsservices.com>
In-Reply-To: <20011012132915.J73101-100000@woozle.rinet.ru>
References:  <20011012132915.J73101-100000@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 12 October 2001 04:35, Dmitry Morozovsky wrote:
> On Fri, 12 Oct 2001, William Wong wrote:
>
--SNIP--
> adduser is written in Perl, and password hashing as doing there via
> crypt() perl function. However, there's no current way in perl to select
> crypt method, which is done by passwd(1).
>
>
--SNIP--

Hi,

Actually the password is generated by adduser using crypt.  To get a MD5 
password everytime, use a preset salt of "$1$".  The system will then 
generate a MD5 password all of the time.

GB


-- 
GB Clark II             | Roaming FreeBSD Admin
gclarkii@VSServices.COM | General Geek 
           CTHULU for President - Why choose the lesser of two evils?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01101207250309.42095>