How to Install Usermin on Ubuntu 24.04
Usermin on Ubuntu 24.04 gives regular computer users a web page to manage their own server accounts without needing full admin rights. Usermin is a web control panel that lets you handle simple tasks like changing your password, checking email, and managing files right from your internet browser.
This setup keeps your server safer because fewer people need top-level access. Usermin handles day-to-day user tasks, while the sister tool Webmin handles heavy system admin work.
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, 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, 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 installing `curl` [sudo apt install curl] may be necessary if it is missing.
After downloading, install Usermin with the command shown below.
Open the configuration file for editing by running `sudo nano /etc/usermin/config` in your terminal.
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
Reach the control panel by entering your server hostname or IP address followed by port 20000 in a web browser (for example, http://example.com:20000).
http://example.com:20000

Start managing your server.

That completes the setup process.
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. The software drops elevated privileges to perform actions under the logged-in user's account, reducing security risks.
What is Usermin used for?
Usermin is a 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?
The service is active, running, and enabled.
What exactly is Webmin used for?
Webmin handles deeper system administration tasks, letting you manage users, disk quotas, services, and configuration files. It also controls open-source software like the BIND DNS Server, Apache HTTP Server, PHP, and MySQL.
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!