Subject: RE: More on adding a user
To: netbsd-help <netbsd-help@netbsd.org>
From: Joe Hylkema <jh@isomedia.com>
List: netbsd-help
Date: 01/06/2002 12:10:04
Oh, so you have to hardcode the cyphertext into the /etc/usermgmt.conf file
?


-----Original Message-----
From: netbsd-help-owner@netbsd.org
[mailto:netbsd-help-owner@netbsd.org]On Behalf Of James K. Lowden
Sent: Sunday, January 06, 2002 11:54 AM
To: netbsd-help
Subject: Re: More on adding a user


On Sun, Jan 06, 2002 at 10:58:54AM -0800, Joe Hylkema wrote:
> The useradd manpage makes reference to a default encrypted password in
> /etc/usermgmt.conf.  How does one add that?

Joe,

AIUI, you set some user's password with passwd, then use vipw (or,
grep username /etc/master.passwd) to see the encrypted password.
That's the string to put in /etc/usermgmt.conf.

Don't know where I read about it.  Can't seem to find it now.

--jkl