In Bourne shell, you could do:
for i in `echo name_a  name_b  name_c  name_d  name_e  name_f  name_g`
do
     echo "creating user account: $i"; passwd $i< secret_$i
done

--------------------------

In C-sh
foreach i (`echo name_a  name_b  name_c  name_d  name_e  name_f  name_g`)
     echo "creating user account: $i"
     useradd $i; passwd $i  < secret_$i
end

-------------------------

The only problem I see here is with the password.  Maybe someone has a tip
on randomizing
this, and also I do not know how to use scripting to force a user to change
their password
when they first logon.
__________________

William Ampeh (x3939)
Federal Reserve Board


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to