Configure Webmin and Usermin on Linux

Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely

Usermin is a web-based interface for webmail, password changing, mail filters, fetchmail and much more. It is designed for use by regular non-root users on a Unix system, and limits them to tasks that they would be able to perform if logged in via SSH or at the console.

This example is based on OEL 7.

1) Install pre-req

wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
sudo yum install

yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect

yum install pam-devel
yum install perl-Authen-PAM

2) Create a repository on server.

vi /etc/yum.repos.d/usermin.repo
name=Usermin Distribution Neutral

vi /etc/yum.repos.d/webmin.repo

name=Webmin Distribution Neutral

3) Install GPG keys

rpm --import jcameron-key.asc

4) Install Webmin and Usermin

[root@funoel7 yum.repos.d]# yum install webmin
[root@funoel7 yum.repos.d]# yum install usermin

5)Configure to make sure webmin and usermin start at system reboot automatically.

chkconfig webmin on
chkconfig usermin on

6) Open the incoming connection to port:

20000 is default for usermin console
10000 is default for webmin console

iptables -I INPUT -p tcp --dport 20000 --syn -j ACCEPT
iptables -I INPUT -p tcp --dport 10000 --syn -j ACCEPT
service iptables save
systemctl enable --now webmin.socket
systemctl enable --now usermin.socket

7)Open Browser and try to URL


If you like please follow and comment