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
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.
It is possible by writing a small shell script and
reading the names of the users from an ascii file.
-- seshagiri
--- s nagar [EMAIL PROTECTED] 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
On Mon, 2003-12-22 at 13:31, 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
Thank you Mr. Raj Shekar for your suggestion.
Raj Shekhar [EMAIL PROTECTED] wrote:On Mon, 2003-12-22 at 13:31, 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