O'Reilly logo

Webmin Administrator's Cookbook by Michał Karzyński

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a panel for the commands that you execute often

There are some commands that you will find yourself running over and over again. In such cases, you may wish to use Webmin's Custom Commands module to create a convenient control panel from which you can run your command with the click of a button.

Tip

Using this feature, you can also allow some users to run a command as a different user. It's also useful as an alternative to creating scripts and a way to store the syntax of long or complicated commands.

Getting ready

In this recipe, we will create a custom button that uses the drush command to clear caches of a Drupal site. You will probably want to use a different command, so make a note of its syntax and the directory you want to execute ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required