Search Suggest

How to install and configure Usermin in CentOS - 6.X

What is Usermin?
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.

Server details:

Operating system: CentOS – 6.X
Server IP Address:  192.168.0.65
Hostname: server.example.com
Selinux : Disabled
Config file: /etc/usermin/miniserv.conf
Service : usermin
Port no : 20000

Download Latest Usermin Package
# wget http://prdownloads.sourceforge.net/webadmin/usermin-1.701-1.noarch.rpm

Install Webmin dependency first
# yum install perl-Net-SSLeay -y

Install rpm package
# rpm -ivh usermin-1.701-1.noarch.rpm
warning: usermin-1.701-1.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID 11f63c51: NOKEY
Preparing...                ########################################### [100%]
Operating system is CentOS Linux
   1:usermin                ########################################### [100%]
Usermin install complete. You can now login to https://server.example.com:20000/
as any user on your system.

Start Usermin Service
# service usermin start
# service usermin status
Usermin (pid 6787) is running

Now access usermin in your favorite browser using below URL
http://server-ip-address:20000/
Username: root   (For non-root user)
Password: *******











Usermin Dashboard







Usermin Security

# vi /etc/usermin/miniserv.conf
# add follows to the end (IP addess you allow to access)
allow=127.0.0.1 192.168.0.0/24       (Allow Specific range of Network )

# Restrict/Deny root login
denyusers=root                                 (Deny root user on Usermin portal )

Restart Usermin service
# service usermin restart


Đăng nhận xét