[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: passwd



On Tue, 16 Jun 1998, Jorge Kinoshita wrote:

: Hello,
:     I would like to add many users and build a script to it. I have one
: problem with passwords. I would like that the users could alter their
: passwords by the web interface, so I have to write a script for it. My
: problem is: how can I set the password for some user using a simple
: command? Every program I see requires some kind of interactivity that it
: is no good for a script.
:     Thank you for any help.
:     Jorge Kinoshita.

As someone (forgot who!  Sorry :/ ) pointed out to me, the `chpasswd'
command is useful when used in a script.  It accepts username/password
pairs on standard input.  The password can be encrypted or unencrypted,
your choice.  It's part of the base install, and pretty darn useful :)

--
Nathan Norman
MidcoNet - 410 South Phillips Avenue - Sioux Falls, SD  57104
mailto://finn@midco.net   http://www.midco.net
finger finn@kepler.midco.net for PGP Key: (0xA33B86E9)



--  
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: