How do I install new modules in webmin
Once you have downloaded a new module as a .wbm file, enter the Webmin Configuration module and click on the Webmin Modules button. Then use the form at the top of the page to install the module either from the local file system of the server Webmin is running on, or uploaded from the client your browser is on.
Perl MD5 module for Webmin
The Webmin Users and Groups module supports the encryption of passwords with the MD5 algorithm, if your system supports it. However, this depends on the Perl MD5 module, which can be downloaded from
http://www.cpan.org/modules/by-module/MD5/MD5-1.7.tar.gz.
Once downloaded, enter the following commands to install the module :
gunzip MD5-1.7.tar.gz
tar xvf MD5-1.7.tar
cd MD5-1.7
perl Makefile.PL
make
make install
If you are using Webmin 0.83 or above, an even easier option is to use the Perl Modules module to make and install the MD5 module from CPAN.
Installing Usermin in FreeBSD
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.
SSH to your server and su to root.
Use the cd command to change to the port directory for Usermin:
# cd /ports/sysutils/usermin
Run the following command to install Usermin:
During the install process, you will be prompted for various information.
Use the defaults (hit Enter when prompted) for the Config File directory, Log file directory, Full path to Perl, and Web server port.
Select NO when asked if you want to use SSL. Once Usermin is installed and running, you will have the option to configure SSL support from the Webmin control panel.
It may take several minutes (depending on server load) for Usermin to finish the installation. Once the installation has completed, you will need to start Usermin using the following command:
# /usr/local/etc/usermin/start
Installing Webmin in FreeBSB
Webmin and Usermin are available from the FreeBSD Ports Collection. Webmin can be installed from the /ports/sysutils/webmin/ directory, and Usermin from /ports/sysutils/usermin/.
SSH to your server and su to root.
Use the cd command to change to the port directory for Webmin:
# cd /ports/sysutils/webmin
Run the following command to install Webmin:
During the install process, you will be prompted for various information.
Use the defaults (hit Enter when prompted) for the Config File directory, Log file directory, Full path to Perl, and Web server port.
Select an administrative user Login name. You may want to use the same name as your server administrator account, or use the default admin username.
Enter a password for the administrative user. Make sure the password is something you can remember. You will be prompted to re-enter the password to confirm you spelled it correctly. When entering the passwords, you will not see anything echoed on the screen.
Select NO when asked if you want to use SSL. Once Webmin is installed and running, you will have the option to configure SSL support from the Webmin control panel.
It may take several minutes (depending on server load) for Webmin to finish the installation. Once the installation has completed, you will need to start Webmin using the following command:
# /usr/local/etc/webmin/start
Unable login into the domain stats
Issue: Unable to login into the stats of the domain (in Plesk). It is asking the password continuously.
Search for the following entry in /var/www/vhosts/domainName/conf/httpd.include:
(The file /var/www/vhosts/domainName/conf/httpd.include is actually HTTPD_VHOSTS_D/domainName/conf/httpd.include):
<Directory "/var/www/vhosts/domainName/statistics">
AuthType Basic
AuthName "Domain statistics"
AuthUserFile /var/www/vhosts/domainName/pd/d..httpdocs@plesk-stat
require valid-user
</Directory>
It is in that AuthUserFile, the login name as well as the encrypted password is stored.
So adding a new user login details in that file fix the problem, and you can add it as follows.
Create the encrypted password using htpasswd command.
htpasswd -bd /var/www/vhosts/domainName/pd/d..httpdocs@plesk-stat
This will fix the issue.
Note : Replace the domainName by corresponding domain name.