How to create a new user in Webmin?

How to create a new user in Webmin

Webmin provides a user-friendly web-based interface for managing Unix-like systems. One of the essential tasks in system administration is creating new user accounts. In this guide, we will walk you through the process of creating a new user in Webmin. By following these step-by-step instructions, you will be able to add users to your system, assign appropriate permissions, and enhance the security and usability of your environment.

Step 1: Access Webmin

  1. Open a web browser and enter the URL “https://your-server-ip:10000” (replace “your-server-ip” with the actual IP address or hostname of your server).
  2. Log in to Webmin using your administrator credentials.

Step 2: Navigate to the User Administration Module

  1. Once logged in, locate and click on the “System” category in the left-hand side menu.
  2. In the expanded menu, click on “Users and Groups.”

Step 3: Add a New User

  1. On the “Users and Groups” page, click the “Create a new user” button.
  2. Fill in the required information for the new user in the provided fields:
    • Username: Enter a unique username for the user.
    • Password: Set a secure password for the user account.
    • Full name: Enter the full name of the user.
    • Home directory: Specify the home directory for the user (optional).
    • Shell: Choose the shell for the user (e.g., /bin/bash).
    • Primary group: Select the primary group for the user (optional).
  3. Click the “Create” button to proceed.

Step 4: Set User Permissions and Settings

  1. On the user’s page, you can configure additional settings and permissions:
    • UID (User ID): Optionally, you can set a specific User ID for the user.
    • GID (Group ID): Specify the Group ID for the user (optional).
    • Other groups: Assign the user to additional groups.
    • Account expired: Set an expiration date for the user account (optional).
    • Account locked: Lock the user account to prevent login (optional).
    • Login shell: Configure the login shell for the user.
    • Primary group: Change the primary group for the user (optional).
    • Home directory: Modify the home directory path for the user (optional).
    • Password: Change the user’s password (optional).
    • Quota: Set disk quota limits for the user (optional).
    • SSH public key: Add an SSH public key for the user (optional).
  2. Adjust the settings according to your requirements.
  3. Click the “Save” button to save the changes.

Step 5: Verify the User Creation

  1. To ensure the user was successfully created, locate the user in the list of users displayed on the “Users and Groups” page.
  2. Confirm that the newly created user is listed with the correct details.
Note: When creating new users, it is crucial to adhere to best practices for password security. Ensure that the password is strong, containing a combination of letters, numbers, and special characters. Additionally, consider implementing a password policy that enforces password complexity and regular password changes to enhance the security of your system.

Conclusion: Creating new users in Webmin is a straightforward process that allows you to manage access to your system efficiently. By following the step-by-step instructions outlined in this guide, you can easily create user accounts, assign appropriate permissions, and configure user settings. Regularly creating and managing user accounts in Webmin helps enhance the security and usability of your environment. Utilize this powerful tool to streamline user administration and maintain a well-organized.

Expert in Information Technology In addition to general monitoring and notification system administration, I am actively engaged in providing information security, monitoring, and TCP/IP. I spend the most of my time configuring and routing computer networks. Reading and going to comedy concerts are two of my favorite pastimes.

Share the post if you liked it:
0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments