Try the following

for i in `cat /<file with user list>`
do
  useradd $i
done

To change their password in bulk
chpasswd <filename>

Where <filename> is a file with user:password format
You may want to use chpasswd -e <filename>, if the file has user:encrypted passwd format.


regards,
alok sinha

s nagar wrote:

hi everyone

i need to ask you one thing that whether it is possible to create users in bulk rather than creating single user
in case there are many users to be created and simultaneously giving them same password as their username.
in case you have some solution then please do reply.


Thanking you all
Sandeep



---------------------------------
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
_______________________________________________
ilugd mailing list
[EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd




_______________________________________________
ilugd mailing list
[EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to