Subject: Re: batch passwd
To: Wojciech Puchar <netbsd-users@netbsd.org, wojtek@wojtek.3miasto.net>
From: Hubert Feyrer <hubert@feyrer.de>
List: netbsd-users
Date: 08/12/2001 23:40:39
In article <Pine.NEB.4.33.0108121226330.2455-100000@wojtek.3miasto.net> you wrote:
> how to make passwd work in batch mode (from root)

Of course you'll need r00t for this:
edit /etc/master.passwd (2nd field), then run pwd_mkdb.

Or run passwd(1) inside a pty - see the sysinst sources for an example.


 - Hubert

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html 
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/