After logging into Webmin, I get the error message - You do not have access to any Webmin modules.
Follow these steps to fix it:
Login to your server via telnet or at the console as root.
Edit the file
and make sure the line starting with root: or admin: (depending on which you use to login to Webmin) exists and looks like :
Login to Webmin again, and go into the Webmin Users module, which will be the only one you have access to.
Click on your username in the list, grant yourself access to all the modules, and click Save.
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.
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 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