On Wednesday, 2 August 2006 at 15:53:07 +0300, Simon Phoenix wrote: > On Wednesday 02 August 2006 12:48, Mike Fern wrote: >> Dear all, >> Does anybody know a program which is able to change user password from >> command line? >> We can add a user using single line pw (pw useradd), but i need >> ability to set the password also, instead of old command "passwd user" >> and then writing to stdin. > > man pw > > Look for -h option description.
The advantage of using passwd(1) is that it is available on all UNIX-like systems (pw(8) isn't), and that it's easier to use. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers.
Description: PGP signature