creating bulk users in linux
Today I have configured NX server. Now, Next task is to create users and really its very time consuming and boring task. Usually you use useradd command to create a new user or update default new user information from command line. So i have explore Linux and searched on Google , I have found few scripts to do this. But later I have found one good and easy solution. Here is that, Update and create new users in bulk. newusers command reads a file of user name and clear-text password pairs and uses this information to update a group of existing users or to create new users. Each line is in the same format as the standard password file. This command is intended to be used in a large system environment where many accounts are updated at a single time (batch mode). Since username and passwords are stored in clear text format make sure only root can read/write the file. Use chmod command: # touch /root/bulk-user-add.txt # chmod 0600 /root/bulk-user-add.txt Create a user list as follows. Op