Archive for August, 2009

How can I change Webmin’s list of allowed IP addresses from the shell?

The file you need to modify is

/etc/webmin/miniserv.conf , in particular the allow= or deny= lines.

If the allow= line exists, it contains a list of all addresses and networks that are allowed to connect to Webmin. Similarly, the deny= line contains addresses that are not allowed to connect.

After modifying this file, you need to run

/etc/webmin/stop ; /etc/webmin/start

for the changes to take effect. Naturally, the file can only be edited by the root user.

Webmin error message Unable to identify operating system

When installing the Webmin RPM, I get the error message Unable to identify operating system.

This happens if Webmin cannot identify your OS by looking at your /etc/issue file, possibly because it has been changed from the default contents. The best solution is to install the .tar.gz version of Webmin, which asks for the OS name and version manually.

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

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

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 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

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:

# make install clean

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

« Prev - Next »