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

Re: Using Expect with passwd

On Fri, 9 Apr 1999, Hilaire Fernandes wrote:

> Anyway I can use the suggestion from Michael A Hamblin with 'usermod'

Basically usermod has an undocumented option, -p (at least, I've never
been able to find it in the man page). You can give usermod a crypted
password on the command line to set a user password.

Michael Hamblin            http://www.utdallas.edu/~michaelh/
michaelh@utdallas.edu      http://www.ductape.net/
UTD Linux User Group       Engineering and Computer Science Support x2997