How to Manage Users in Webmin

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:

  1. Click “Create a new user”
  2. Enter a username
  3. Optionally choose user ID, real name, home directory, and shell
  4. Add a password
  5. Optionally set a time limit on the password to force the user to change it
  6. Choose a group for the user
  7. Set “upon creation” options
  8. 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.