[Tutor] adding users from a script

lonetwin lonetwin@yahoo.com
Wed, 12 Sep 2001 19:16:07 +0530


Hi,
    A suggestion ....maybe you should look at the crypt module...it 
implements the crypt(3) function and returns an encrypted passwd that the 
'useradd -p' option expects.

references:
man useradd // look at the -p option
man passwd  
man 3 crypt // this is the function that the python crypt module implements
==================================================================

To add to that ealier post ....the url for crypt documentation:
http://www.python.org/doc/current/lib/module-crypt.html

Peace
Steve