How can I set passwords from script/file?
Jose Angel Vela Avila
josevela at mtecv2.mty.itesm.mx
Tue May 14 14:11:24 AEST 1991
lusgr at vax1.cc.lehigh.edu (Steve Roseman) writes:
>Does anyone have a good way of setting user passwords from a file, script,
>etc.? Running "passwd username <file" gives a "Must run from tty" error
>message. I need this capability for administrative mass password setting, and
>changing the user interface for passwd (not my idea.)
You could use expect for do anything you want from a interactive process..
All this in a script of course ....
If you need more information, drop me an email...
Jose A. Vela A.
josevela at mtecv2.mty.itesm.mx
More information about the Comp.unix.aix
mailing list