Create new webmin user
To create a new Webmin user, you can follow these steps:
Using the Webmin interface:
- Log in to your Webmin interface by navigating to
https://your-server-ip:10000
(replaceyour-server-ip
with the IP address of your server). - Click on the "Users" tab on the top menu bar.
- Click on the "Create a new user" button.
- Fill in the required information:
- Username: Enter a unique username for the new user.
- Password: Enter a strong password for the new user.
- Email: Enter the email address for the new user (optional).
- Group: Select the group that the new user should belong to (e.g., "users" or "admin").
- Shell: Select the shell that the new user should use (e.g., "bash" or "sh").
- Click the "Create" button to create the new user.
Using the command line:
-
Log in to your server using SSH.
-
Run the following command to create a new user:
useradd -m -s /bin/bash newuser
Replace
newuser
with the desired username. -
Set the password for the new user:
passwd newuser
Enter a strong password for the new user.
-
Add the new user to a group (optional):
usermod -aG group newuser
Replace
group
with the name of the group you want the new user to belong to. -
Log out and log back in to your Webmin interface to verify that the new user has been created.
Note: The above commands assume that you are using a Linux-based system. If you are using a different operating system, the commands may vary.