On a dedicated server, managing users does not have to be a difficult affair. While the command-line tools are not overly complicated, you may at times want to use a graphical interface or run batch user operations. Webmin’s “Users and Groups” module may be exactly what you need.
You can find the Users and Groups module in Webmin under the “System” section. When you click the link, you will see a list of local users, including root and users like nobody, lp, mail, and daemon. To create a new user:
- Click “Create a new user”
- Enter a username
- Optionally choose user ID, real name, home directory, and shell
- Add a password
- Optionally set a time limit on the password to force the user to change it
- Choose a group for the user
- Set “upon creation” options
- Click “Create”
You can edit any user simply by clicking the linked name. To delete, disable, or enable multiple users, check the boxes next to their names on the list and then click the appropriate button at the bottom. You can also run a batch file to add multiple users by clicking the “Run batch file” option in the top right, and you can export a batch file to copy users to another system with the link next to it.
Finally, if you want to show currently logged in users, click the “Show Logged In Users” button at the very bottom. For more information about Webmin’s Users and Groups module, see the online documentation.