On Fri, 11 May 2001, Mithun Bhattacharya wrote:

>        -p passwd
>               The  encrypted password, as returned by crypt(3) or
>               an MD5 password generator.  The default is to  dis�
>               able the account.
> 

If there are other people logged on to the same box, they might see
`useradd -p passwd blah' in a ps listing. 

Another way to do this is to use `expect' (or its perl interface) to feed
the real password to `passwd'.

expect is a really neat program.  http://expect.nist.gov/FAQ.html

bye :)
Anmol


------------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/linux-delhi

Reply via email to