From owner-freebsd-questions Fri Mar 9 16: 4:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dell.dannyland.org (dell.dannyland.org [64.81.36.13]) by hub.freebsd.org (Postfix) with ESMTP id 0F6C637B71A for ; Fri, 9 Mar 2001 16:04:12 -0800 (PST) (envelope-from dannyman@toldme.com) Received: by dell.dannyland.org (Postfix, from userid 1001) id BDDD25D76; Fri, 9 Mar 2001 16:02:03 -0800 (PST) Date: Fri, 9 Mar 2001 16:02:03 -0800 From: dannyman To: Lowell Gilbert Cc: freebsd-questions@freebsd.org Subject: Re: adduser Message-ID: <20010309160203.B21912@dell.dannyland.org> References: <44bsroch2h.fsf@lowellg.ne.mediaone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <44bsroch2h.fsf@lowellg.ne.mediaone.net>; from lowell@world.std.com on Tue, Feb 27, 2001 at 09:54:14AM -0500 X-Loop: djhoward@uiuc.edu X-URL: http://www.dannyland.org/~dannyman/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Feb 27, 2001 at 09:54:14AM -0500, Lowell Gilbert wrote: > sudz@ns3g.com (Colin Legendre) writes: > > > I am running freebsd4.2 release with a few patches(ipfw, inetd, procfs). I > > have noticed that using adduser the password that is put in the > > master.passwd is DES crypted. But if you use passwd to change it, it > > becomes MD5 crypted. Is there anyway to make adduser crypt to MD5 as well? > > Hmm. adduser(8) seems to use the perl crypt function directly. > You'd probably need a perl hacker to answer that one. Try my enteruser script. :) http://www.daemonnews.org/199908/enteruser.html I wrote it to replace adduser. It calls pw instead of editing master.passwd itself, so it will get you your MD5 hash. -danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message