Running Webmin from inetd?

The steps you need to follow are:

Stop webmin with the command

/etc/webmin/stop

Add the line

inetd=1 to /etc/webmin/miniserv.conf

Remove the line

session=1 from /etc/webmin/miniserv.conf

Edit /etc/services and add a line like :

webmin 10000/tcp

Edit /etc/inetd.conf and add a line like :

webmin stream tcp nowait root /usr/libexec/webmin/miniserv.pl miniserv.pl /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.

Restart inetd to make the changes take effect.

You should now be able to access webmin on port 10000 as normal.

Using the Bootup and Shutdown module, make sure that inetd is configured to start at boot time, and that webmin is not.

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.