Subject: Re: batch passwd
To: Stephen M Jones <smj@cirr.com>
From: Wojciech Puchar <wojtek@wojtek.3miasto.net>
List: netbsd-users
Date: 08/13/2001 09:20:42
> passwords show up in a process listing for a split second) you could use
> htpasswd which, given the command line args:
>
> htpasswd -nb test test
> test:sVa6SX4wKM2t.
>
> write a script around that, and have it call 'user' or 'usermod'
>
> usermod -p sVa6SX4wKM2t. test
>
nice!!! that's what i needed?

what is C-library function name to encrypt password (i will run usermod
from C program)