Subject: Re: batch password change
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Wojciech Puchar <wojtek@chylonia.3miasto.net>
List: netbsd-users
Date: 08/03/2002 13:08:34
> > interactivity?
>
> In /usr/libexec you have a makekey command that might do what you want:
>
> echo "toto:`echo newpassword | /usr/libexec/makekey `:500:500::0:0:Test
> user:/home/toto:/bin/ksh" >> /etc/master.passwd && pwd_mkdb -p
> /etc/master.passwd
>
tried

echo blahblah|/usr/libexec/makekey
makekey: stdin: Inappropriate file type or format