Subject: Re: Adding users
To: None <netbsd-help@NetBSD.ORG>
From: Mike Long <mike.long@analog.com>
List: netbsd-help
Date: 01/03/1996 10:53:59
>Date: Tue, 02 Jan 1996 17:44:47 -0400
>From: jk7023@cnsvax.albany.edu (Jaime Kikpole)
>
>        Well, I sort-of have a functioning system now.  I found "man
>adduser", but the command itself didn't work.  When I tried to edit passwd
>and master.passwd directly, that didn't add any new users to the list.
>(chown, login, etc. claim the users doesn't exist.)  Any ideas?

There is no adduser script.  This fact should probably be added to the
BUGS sections of adduser(8); many new users are confused by it.

The password-handling routines in libc use {s,}pwd.db instead of the
raw passwd files.  You need to run pwd_mkdb in order to make any
changes visible to the system.  But what you *really* should do is use
vipw, which does all of the work for you.
-- 
Mike Long <mike.long@analog.com>           http://www.shore.net/~mikel
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil