I need to create multiple thousands of users on a linux system. Currently I use the
newusers command with a file as the source for all the users. The file contains around 10000 users. Running
$ newusers /tmp/users.txt
works and creates the users, but it takes very long to complete. The users don't need a shell, a home directory or a password. They also don’t need to be able to login. The users are needed for ssh tunnel purposes.
Is there a way to do this more quick?