June 2016
Beginner
456 pages
9h 31m
English
In this recipe, you will see how to create multiple user accounts in batch mode without using any external tool.
You will need a user account with root or root privileges.
Follow these steps to create a user account in batch mode:
users.txt with the following command:
$ touch users.txt
$ chmod 600 users.txt
users.txt with GNU nano and add user account details:
$ nano users.txt

$ sudo newusers users.txt to import all users listed in Read now
Unlock full access