![]() |
You are here:
Doxfer >
Webmin Web > FAQ |
| r5 - 16 May 2007 - 06:35:45 - ShaneH |
First of all, try upgrading to the latest version. Many bugs in older releases are fixed in the latest version.
The second place to check is the Webmin updates page, on which bugfixes for the current version are posted. The easiest way to install all the latest updates is to use the second and third forms on the Webmin Modules page in the Webmin Configuration module.
If you really have found a new bug, go to the bug tracking system page to report it.
Included with the Webmin distribution is a program called changepass.pl to solve precisely this problem. Assuming you have installed Webmin in /usr/local/webmin-1.330, you could change the password of the admin user to foo by running
/usr/local/webmin-1.330/changepass.pl /etc/webmin admin foo
If you are using SSL, make sure you connect to a URL like https://myhost:10000/ instead of http://myhost:10000. Without the https, your browser won't use SSL mode and thus will display this error.
After extracting the Webmin tar file, cd into the webmin-1.330 directory and type ./setup.sh. Because the root user on many system does not have the current directory in his path, just typing setup.sh will not work.
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.
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 filesystem of the server Webmin is running on, or uploaded from the client your browser is on.
Yes, this can be done with some configuration. See this document for details on running Webmin under Apache, or this page for details on running Usermin.
You can also run Webmin under the Zeus webserver in a similar way. See this documentation for instructions.
On some people's Slackware systems, the Perl crypt() function does not work because the descrypt.tgz package has not been installed. To solve this problem, install the package from your Slackware CD or FTP site.
You need to download and compile the latest Perl source from http://www.cpan.org/src/stable.tar.gz. Or if you have Solaris or HPUX you can download pre-built packages that avoid the need to compile Perl yourself.
By default, Webmin uses HTTP authentication which lacks a way to logout (apart from quitting your browser). To switch to cookie-based session authentication mode, go into the Webmin Configuration module, click on the Authentication icon and turn on Enable session authentication. From now on after you have logged into Webmin, every page will have a Logout link in the top-right corner.
By default, basic logging is enabled in Webmin. To turn on full logging, go into the Webmin Configuration module, click on the Logging icon and turn on the Log changes made to files by each action option. This will record all file changes and commands run by Webmin. Once logging is enabled, all actions performed from then on can be viewed in the Webmin Actions Log module.
Your browser has automatically gunzipped the file for you. Just rename it to webmin-1.330.tar (if it hasn't been already) and skip the gunzip step in the install instructions.
This happens because the default SSL certificate that comes with webmin is not issued by a recognized certificate authority. From a security point of view, this makes the certificate less secure because an attacker could theoretically redirect traffic from your server to another machine without you knowing, which is normally impossible if using a proper SSL certificate. Network traffic is still encrypted though, so you are safe against attackers who are just listening in on your network connection.
If you want to be really sure that the Webmin server you are connecting to is really your own, the only solution is to order a certificate from an authority like Verisign that is associated with your server's hostname and will be recognized web browsers. This certificate should be placed in the file /etc/webmin/miniserv.pem and be in the same certifcate+key format as the existing miniserv.pem file.
To request a certificate, follow these steps:
The follow environment variables are set by Webmin before the script is called :
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.
In the Webmin Servers module, create a new user and give him access to only the Apache Webserver module. After saving, click on Apache Webserver next to the user's name in the list of Webmin users and use the form that appears to deny him access to everything except one selected virtual server.
Many other modules can also be configured in a similar way to restrict the access of a user to only certain DNS domains, Unix users or mail aliases.
As of Webmin version 1.330, it is possible to install on Windows using the included setup.pl script. However, this is extremely alpha-level code, and only a few of the Webmin modules work due to packages like Squid, Sendmail and so on not existing under Windows. In addition, the Windows security and permissions systems are quite different from Unix, so anything that deals with file ownership and modes may not work.
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.
I'm not sure how this error happens, but if it does you can follow these steps to fix it :
Yes, with some small changes to the config files. The steps you need to follow are :
If you are using xinetd instead of inetd, follow these steps instead :
service webmin
{
user = root
env = LANG=
port = 10000
socket_type = stream
protocol = tcp
wait = no
disable = no
type = UNLISTED
server = /usr/libexec/webmin/miniserv.pl
server_args = /etc/webmin/miniserv.conf
}
If you have installed webmin somewhere else, you will have to change the /usr/libexec/webmin part of the path above.
This can be done by following these steps:
Just run the command /etc/webmin/uninstall.sh .
If you have installed the RPM version of Webmin, you can also use rpm -e webmin, or if you have installed the Solaris package you can use pkgrm WSwebmin .
Follow these steps :
Normally when you double-click on a file in the right-hand list, it is displayed in a separate browser window. However, if you hold down shift while double-clicking, your browser should prompt you to save the file instead.
In Webmin versions 0.966 and above, you can also download by selecting the file and clicking on the Save button in the top-left corner of the file manager.
By default, Solaris doesn't allow packages to be upgraded. However, you can change this by editing the file /var/sadm/install/admin/default and changing the instance= line to instance=overwrite. An upgrade can then be performed by simply installing the new Webmin .pkg file.
This can happen if your system's hostname (displayed by the hostname command) does not have an IP address associated with it in the DNS or in the /etc/hosts file. The solutions are to either update /etc/hosts with the correct IP address for your server (or 127.0.0.1 if you are not on a network), or to edit the file /etc/webmin/miniserv.conf and remove the line syslog=1. You will then be able to start Webmin with the command /etc/webmin/start.
Upgrading to Webmin 1.000 or above will also solve this problem.
By default, when a user composed email the From field contains username@systemhostname</i/>. This can be changed by following these steps :
For some unknown reason, Java applets on OSX do not get passed cookie information from the browser. Because Webmin by default uses cookies for authentication, this prevents the File Manager applet from being loaded properly. The solution is to do the following :
This happens because Redhat 8.0 and some other recent Linux releases have changed the way that RPM GnuPG? signatures are stored, causing Webmin's older method of importing the key used to sign packages to fail. The solution is to either turn off the Check GnuPG? signature option on the upgrade form, or add my public key to your RPM key list with the command :
rpm --import http://www.webmin.com/jcameron-key.asc
By default the module will list all of the databases on your system on the main page, even if some are not actually usable by the logged-in user. To change this, follow these steps :
jcameron: database1 fred: database2 database3 joe: *A * in the database column means all databases, while a * in the username column means any user not listed so far.
Just installing Webmin will not cause any config file changes to be made. When you start to use it, only the config files related to the changes that you make in Webmin will be modified. For example, using the Apache Webserver module would not effect your Sendmail configuration.
This often happens on Redhat Linux systems due to a bug (in my opinion) in the default Webalizer configuration. To fix it, do the following :