How to Install Usermin on Ubuntu 24.04
Usermin on Ubuntu 24.04 gives regular users a web page to manage their server accounts without needing full administrator power. Usermin is a web control panel that lets individual users handle tasks like changing passwords, managing email, and accessing files right from their web browser.
This setup improves security because it means fewer people need the highest level of server access. Usermin focuses on individual user tasks, unlike the more advanced Webmin tool for system administrators.
You can easily change your password, check your email, or look at files using Usermin. This guide shows you how to install it on Ubuntu 24.04.
Install Usermin on Ubuntu 24.04 by first installing required packages with `sudo apt install python3 apt-show-versions shared-mime-info unzip libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl`. Then, download and install Usermin using `curl -L -O https://www.webmin.com/download/deb/usermin-current.deb` followed by `sudo dpkg -i usermin-current.deb`.
Install required packages
Before installing Usermin on Ubuntu 24.04, you need to prepare a few essential packages.
Run the command below to install them.
sudo apt install python3 apt-show-versions shared-mime-info unzip libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl
Once those are in place, it’s time to download the Usermin installer package.
Download and install Usermin
Usermin installation on Ubuntu 24.04 begins by downloading the latest Usermin package file from the official website. After the download completes, use the `dpkg -i usermin_*.deb` command to install Usermin, making the software ready for your system.
Run the command below to download the latest version.
curl -L -O https://www.webmin.com/download/deb/usermin-current.deb
Note that you might need to install `curl` [sudo apt install curl] if you don’t already have it.
After downloading, install Usermin with the command shown below.
Open the Usermin configuration file to make changes. Run the command `sudo nano /etc/usermin/config` to open this file for editing.
sudo nano /etc/usermin/miniserv.conf
Inside this file, add a new line specifying the IP addresses you want to allow access from, and a separate line to deny root login. An example appears below.
# add a new line at the end to allow IP addresses
allow=127.0.0.1 192.168.0.0/24
# prohibit login as root account
denyusers=root
After making these changes, save and exit the file.
Restart Usermin with the command provided below.
sudo systemctl restart usermin
You should then be able to access the server hostname or IP address, followed by port 20000 from clients’ IPs, which is allowed.
http://example.com:20000

Start managing your server.

That should do it!
Conclusion:
- Usermin provides an efficient way for end-users to manage their mail and services without full server access.
- The installation process involves installing necessary packages and configuring Usermin settings.
- Ensure that specific IP addresses are allowed and that root access is denied to enhance security.
- Access Usermin through the server’s hostname or IP followed by port 20000.
- With Usermin, users can easily manage their accounts, change passwords, and utilize services like email.
What is the difference between Webmin and Usermin?
Usermin uses resources similarly to Webmin, but they’re separate. Usermin isn’t a module of Webmin; it’s its own server. It drops its elevated permissions and performs actions using the logged-in user’s permissions, which can be safer in specific scenarios.
What is Usermin used for?
Usermin is a handy web-based tool enabling regular users to manage their email, change passwords, and set up mail filters without needing complex commands.
Does Webmin work on Ubuntu?
You’ll see the service is active, running, and enabled.
What exactly is Webmin used for?
What is Webmin? Using it, it is possible to configure operating system internals, such as users, disk quotas, services or configuration files, as well as modify, and control open-source apps, such as BIND DNS Server, Apache HTTP Server, PHP, MySQL, and many more.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!