On Thu, Apr 26, 2001 at 11:04:43AM +1000, Simon Bryan wrote:
> HI,
> I have a script I downloaded and have been able to make a couple of mods
> to. The script is called Addpopusers and takes input from a text file and
> creates the users for me. However now I do not want to create passwords as
> the system will authenticate against an NT server using PAM. The users are
> needed to allow for email from within AUC. Can someone look at the code
> below and tell me how to modify this to prevent the creation of a password
> for each user. My alternative is to let it create identical passwords and
> then use an editor to edit 'shadow'. BTW $passplain is set in a preceding
> section of the script, could I just set that to ""?
>
If you don't set a password using -p with useradd then the
account is disabled by default. ie no password is set.
--
John Ferlito
Senior Engineer - Bulletproof Networks
ph: +61 (0) 410 519 382
http://www.bulletproof.net.au/
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug