Adding reboot to Webmin on Linux

Adding reboot to Webmin on Linux

If you already have Webmin installed on a Linux server you can easily add the ability to reboot the server for any user or group. Below is a tutorial so simple you can just follow the yellow click road and adding reboot to Webmin on Linux will be done in about 1 minute. (Click on the highlighted items to perform this task)

Login to your webmin

Adding reboot to Webmin on Linux

Click on Web min modules then click on clone
Adding reboot to webmin 2 Adding reboot to webmin 3a

Adding reboot to webmin 4

Adding reboot to webmin 5 Adding reboot to webmin 6

Adding reboot to webmin 7 reboot webmin

Now you can see that it was easier than you probably thought for Adding reboot to Webmin on Linux.

Posted in Linux, RHEL, Tutorials and tagged , , .

2 Comments

  1. Amazing, does it do a hard or soft reboot ? Because doing a hard reboot is not recommended and i do restart the server via webmin once a week to keep stuff fresh

    • It’s a soft reboot because it’s just running the command “init 6” as root. It’s the same as if you just SSH in and run the same command as root or with sudo. A better option that you might want to consider is to schedule nightly or weekly reboots via cron but if that’s the case then you may have another underlying issue if you need to reboot a Linux server often as many go unrebooted for years in the enterprise, especially with ksplice patching (which is paid licensing) becoming more popular where you can patch a kernel without rebooting.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.