Webmin is an open-source, web-based system administration tool for Linux and other Unix-like operating systems that lets an administrator manage users, services, packages, firewalls and configuration files from a browser. In hosting, it sits one layer below commercial control panels: it does not sell or package hosting accounts by itself, but it gives direct graphical access to almost every subsystem of a server.
Webmin was first released in 1997, is written mainly in Perl, and runs its own lightweight web server that listens on TCP port 10000 by default. Its companion products, Virtualmin for multi-domain hosting and Usermin for ordinary users, extend the same framework toward the role that cPanel, Plesk or DirectAdmin play in commercial hosting.
How Webmin manages a server
Webmin works by reading and rewriting the native configuration files of each service rather than storing settings in a private database. When an administrator changes an Apache virtual host or a BIND zone in the browser, Webmin edits the same file that a person would edit with a text editor and then reloads the service. This design means manual edits and Webmin edits can coexist, which is the main reason experienced administrators tolerate it on production systems.
The interface is delivered by miniserv.pl, a small Perl web server that runs as root, because most administrative actions require root privileges. Functionality is split into modules, each a set of CGI scripts that understands one subsystem, such as Postfix, MySQL, cron, disk quotas or the system firewall. The table below summarizes the main architectural components.
| Component | Role | Typical location or value |
|---|---|---|
| miniserv.pl | Built-in web server that serves the interface | Port 10000, HTTPS |
| Modules | Per-service management screens | Over 100 standard modules |
| Configuration directory | Webmin settings and module options | /etc/webmin |
| Access control lists | Per-user, per-module permissions | Stored with each module config |
| Themes | Visual layout of the interface | Authentic theme by default |
| Action log | Record of changes made through Webmin | Optional file-level diffs |
Because modules detect the operating system and the installed package versions, the same Webmin release can manage Debian, Ubuntu, Rocky Linux, AlmaLinux, FreeBSD and other platforms. Modules for software that is not installed are simply shown as unavailable.
Webmin, Virtualmin and Usermin
The Webmin family consists of related products that share one codebase but target different audiences. Webmin itself is a server-wide administration tool; Virtualmin adds the concept of hosted domains with their own users, databases and mail; Usermin gives non-administrative users a restricted webmail and file interface. The table clarifies who uses each product and why.
| Product | Primary user | Main purpose | Default port |
|---|---|---|---|
| Webmin | System administrator | Manage the whole server and its services | 10000 |
| Virtualmin | Hosting administrator or reseller | Create and manage virtual servers per domain | 10000 (runs as a Webmin module) |
| Usermin | Ordinary Unix user | Webmail, password changes, personal files | 20000 |
| Cloudmin | Infrastructure operator | Manage virtual machines and containers | 10000 (separate installation) |
In practice, a plain Webmin installation is not a hosting control panel. It does not create isolated hosting accounts, enforce per-customer quotas across web, mail and database services, or provide a reseller layer. Those functions come from Virtualmin, which is available in a free GPL edition and a commercial Pro edition.
How Webmin compares with hosting control panels
Webmin differs from commercial panels mainly in scope, licensing and abstraction level. Panels such as cPanel and Plesk impose an opinionated server layout and manage it end to end, whereas Webmin exposes the underlying services with relatively little abstraction. That gives more control but places more responsibility on the administrator.
| Tool | License model | Abstraction level | Typical use |
|---|---|---|---|
| Webmin | Free, BSD license | Low: edits native configuration | General Linux administration |
| Virtualmin GPL | Free, GPL | Medium: domain-centric | Self-managed multi-site hosting |
| cPanel | Commercial, per-account pricing | High: fixed server layout | Shared and reseller hosting |
| Plesk | Commercial, per-server editions | High: multi-platform | Agencies and Windows or Linux hosting |
| CloudPanel | Free | Medium: PHP and Node.js stacks | Single-purpose application servers |
A key consequence is portability of configuration. Since Webmin never takes exclusive ownership of files, an administrator can uninstall it and keep a fully working server. Removing cPanel or Plesk, by contrast, usually means rebuilding the server from scratch.
Deploying and securing Webmin
Webmin is installed from official APT or YUM repositories, which keeps it updated alongside the operating system. Because the interface runs as root and grants shell-equivalent power, securing access matters more than any other configuration step. A compromised Webmin login is equivalent to a compromised root account.
- Restrict port 10000 to trusted IP addresses in the firewall or the built-in IP access control.
- Replace the self-signed certificate with a trusted TLS certificate, for example from Let’s Encrypt.
- Enable two-factor authentication, which Webmin supports with time-based one-time passwords.
- Create separate Webmin users with module-level access control instead of sharing the root login.
- Keep Webmin on automatic security updates through the package manager.
Many teams go further and expose Webmin only through a VPN or SSH tunnel, so that the login page is never reachable from the public internet. This single measure eliminates most automated attacks against the panel.
Limitations and known risks of Webmin
Webmin’s broad reach is also its largest attack surface. In 2019, investigators found that the build infrastructure had been compromised and that several releases contained a backdoor allowing remote command execution under certain configurations; it was tracked as CVE-2019-15107 and fixed in version 1.930. The incident shows why prompt patching and network restriction are not optional.
Other limitations are operational rather than security related. The table maps common problems to their causes and remedies.
| Symptom | Likely cause | Remedy |
|---|---|---|
| Login page unreachable | Port 10000 blocked by firewall | Open the port for trusted addresses only |
| Browser certificate warning | Default self-signed certificate | Install a trusted certificate |
| Module shows wrong paths | Nonstandard package layout | Adjust the module configuration |
| Changes overwritten later | Another tool manages the same file | Use one management tool per service |
| Repeated login attempts in logs | Interface exposed to the internet | Enable blocking and restrict access |
A frequent mistake is combining Webmin with configuration management such as Ansible or Puppet on the same files. The automation then silently reverts changes made in the browser, creating configuration drift that is hard to diagnose.
In everyday language
Webmin is like a remote control for a server that works in a web browser. Normally, someone who looks after a Linux server types commands and edits text files to change how it works. Webmin turns many of those tasks into forms, buttons and menus.
It does not hide the server or replace it with its own system. It simply edits the same settings a person would edit by hand. The key point is that whoever can log in to Webmin controls the whole server, so the login must be protected very carefully.
Seen in the real world
A small engineering consultancy runs two Ubuntu servers on a virtual private server provider: one for its website and one for internal file sharing and email. The single part-time administrator is comfortable with Linux but prefers a visual overview for routine work such as adding mail users, renewing certificates and checking disk usage.
The administrator installs Webmin from the official repository, limits port 10000 to the office IP address and the company VPN, enables two-factor authentication, and creates a second Webmin account for a colleague that can only manage mail aliases and backups. Virtualmin GPL is added on the web server to keep three client sites separated by domain.
The result is that routine tasks take minutes instead of command-line sessions, while every change is still written to standard configuration files. When the company later migrates to a larger host, the configuration is copied over directly, without depending on a proprietary panel.