Install Usermin On Centos
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. See the standard modules page for a list of all the functions built into Usermin.
Who can use Usermin?
Most users of Usermin are sysadmins looking for a simple webmail interface to offer their customers. Unlike most other webmail solutions, it can be used to change passwords, read email with no additional servers installed (like IMAP or POP3), and setup users' Procmail configurations for forwarding, spam filtering and autoreponders.
Usermin also provides web interfaces for viewing and managing data in MySQL and PostgreSQL databases, editing Apache .htaccess configuration files, and running commands on the server. The administrator has full control over which of these modules are available to users.
Step 1 :Install required packages first.
# install from EPEL
[root@hackthesec ~]# yum --enablerepo=epel -y install perl-Net-SSLeay perl-Authen-PAM
Step 2 : Install Usermin. Make sure the latest Usermin before.
[root@hackthesec ~]# yum -y install http://download.webmin.com/download/yum/usermin-1.651-1.noarch.rpm
[root@hackthesec ~]# vi /etc/usermin/miniserv.conf
# add follows to the end (IP addess you allow to access)
# prohibit root login
[root@hackthesec ~]# /etc/rc.d/init.d/usermin restart
Stopping Usermin server in /usr/libexec/usermin
Starting Usermin server in /usr/libexec/usermin
Step 3 : Start Web browser on localhost or on another client on the network and access to "https://(server's hostname or IP address):20000/". Then, Usermin site is displayed, login with a common account.
Step 4: This is the main page of Usermin. It's possible to operate various things