Webmin on selaimella toimiva (=selainpohjainen) linux/unix-koneen hallinnointiohjelma. Tämänhetkinen versio on 1.070. Se asentuu siihen kansioon missä purat paketin. Ohjelma käynnistyy, kun avaat selaimen (esim. mozilla) ja kirjoitat sen osoiteriville:
http://ip-osoite:10000/
missä ip-osoite on koneen/palvelimen osoite (www.abcdefg.com, 123.245.167.89), jos yrität yhteyttä verkon kautta. Jos taas olet itse koneella, niin se voi olla myös koneen_nimi, 127.0.0.1 , localhost tai localhost.localdomain .
Ohessa muutamia ohjeita.
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.070, you can change the password of the user named admin to foo by running:
/usr/local/webmin-1.070/changepass.pl /etc/webmin admin foo
Eli ylläoleva kirjoitettuna roottina terminaalissa lisää Webminiin käyttäjän nimeltä admin salasanalla foo , tai muuttaa olemassaolevan adminin salasanan fooksi.
Minun koneessani tiedosto on kansiossa:
/tmp/imut/webmin-1.070/changepass.pl
After extracting the Webmin tar file, cd into the webmin-1.070 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.
Olikohan sh setup.sh väärin, kun en päässyt sisään roottina?
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
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, click on the Authentication icon and turn on Enable session authentication. From now on after you have logged into Webmin, the main menu will have a Logout link in the bottom-right corner.
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.
In the Webmin Servers module, create a new user and give him access to 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.
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.