From owner-freebsd-stable Fri Oct 12 5:25:19 2001 Delivered-To: freebsd-stable@freebsd.org Received: from primus.vsservices.com (primus.vsservices.com [63.66.136.75]) by hub.freebsd.org (Postfix) with ESMTP id 4DC7B37B409 for ; Fri, 12 Oct 2001 05:25:16 -0700 (PDT) Received: from prime.vsservices.com (conr-adsl-dhcp-28-213.txucom.net [209.34.28.213]) by primus.vsservices.com (8.11.3/8.11.3) with SMTP id f9CCP1126722; Fri, 12 Oct 2001 05:25:02 -0700 (PDT) (envelope-from gclarkii@vsservices.com) Content-Type: text/plain; charset="iso-8859-1" From: GB Clark II To: Dmitry Morozovsky , William Wong Subject: Re: adduser and passwords Date: Fri, 12 Oct 2001 07:25:03 -0500 X-Mailer: KMail [version 1.2] Cc: freebsd-stable@FreeBSD.ORG References: <20011012132915.J73101-100000@woozle.rinet.ru> In-Reply-To: <20011012132915.J73101-100000@woozle.rinet.ru> MIME-Version: 1.0 Message-Id: <01101207250309.42095@prime.vsservices.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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