It would be a good idea to not have Webmin running all the time. You can start Webmin via ssh when you need it. Not also Webmin, it’s recommended to install the software or packages in linux when you need it. This will improve the security for your server. Less port opened, more secure your server. In this post i will show you on how to stop, start,reload and restart the Webmin service via ssh for CentOS 5.7. Assumed that the webmin has been install from the tar.gz file as documented on my previous post “How to Install Webmin 1.570 on CentOS 5.7 from tar.gz file”
1. Command to stop webmin service :
[root@CentOS57 ~]# /etc/webmin/stop Stopping Webmin server in /usr/local/webmin
2. Command to start webmin service :
[root@CentOS57 ~]# /etc/webmin/start Starting Webmin server in /usr/local/webmin Pre-loaded WebminCore
3. Command to reload webmin service :
[root@CentOS57 ~]# /etc/webmin/reload Reloading Webmin server in /usr/local/webmin
4. Command to restart webmin service :
[root@CentOS57 ~]# /etc/webmin/restart Stopping Webmin server in /usr/local/webmin Starting Webmin server in /usr/local/webmin Pre-loaded WebminCore