25.1. The Custom Commands Module

Most system administrators like to create shell scripts to perform common tasks, such as backing up a database or adding a new user of some kind. Because every system and organization is different, there will always be tasks that a generalized tool like Webmin cannot do as easily as a simple, customized script. Unfortunately, scripts run at the command line are not easy for an inexperienced user to use.

The Custom Commands module allows you to create simple web interfaces for shell scripts and commands so they can be run from within Webmin at the click of a button. It also allows you to define the parameters of various types for each command that can be entered by the user and substituted into the shell command. ...

Get Managing Linux® Systems with Webmin™ System Administration and Module Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.