Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2001 16:02:03 -0800
From:      dannyman <dannyman@toldme.com>
To:        Lowell Gilbert <lowell@world.std.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: adduser
Message-ID:  <20010309160203.B21912@dell.dannyland.org>
In-Reply-To: <44bsroch2h.fsf@lowellg.ne.mediaone.net>; from lowell@world.std.com on Tue, Feb 27, 2001 at 09:54:14AM -0500
References:  <KGEOJAKEENHJJGNECGDJIEIICDAA.sudz@ns3g.com> <44bsroch2h.fsf@lowellg.ne.mediaone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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