55.6. Design Goals

A typical Webmin module is written to configure some UNIX services, such as Apache, Squid, or NFS exports. Most UNIX servers are normally configured by editing a specific text file, which may have a complex format. Any Webmin module that modifies a configuration file must be able to parse all possible options in such a configuration file, even if not all options are presented to the user.

No module should ever corrupt a service configuration file or remove options that it does not understand. Modules should be able to parse any valid configuration without requiring special comments or a special format. If your module cannot deal with some option in a file, it should be left alone.

Webmin modules should be designed to be easy ...

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.