useradd

From: Arnie Miles <miles_at_hood.edu>
Date: Wed, 20 Dec 2000 14:49:34 -0500

All:

I'm trying to use "useradd" (with a number of options listed in the man
pages) in a loop in a Perl script to create a batch of accounts.
Unfortunately, it doesn't seem to allow me to just put in a password at the
same time, it appears to want to interact with the keyboard for each
password to be typed in twice.

I know that if I don't set a password, it will create the account with no
password, but that is a less than satisfactory solution.

Does anyone have a solution that will allow me to enter a password while
creating an account from a script that does not require keyboard input?



My e-mail address is miles_at_hood.edu


Thanks...
Arnie Miles
Manager, End User Computing
Unix Systems Administrator
Hood College
Frederick, MD 21701
Received on Wed Dec 20 2000 - 19:45:46 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT