13.5. Module Access Control

The System Logs module can be restricted so that a Webmin user can use it only to view log files instead of being able to create and edit them. As explained in Chapter 52, you must first create or edit a user who has access to the module. Once that is done, follow these steps to limit him to viewing log files only:

1.
In the Webmin Users module, click on System Logs next to the name of the user that you want to restrict.
2.
Change the Can edit module configuration? option to No, so that he will not be able to reconfigure the module to use a fake syslog.conf file.
3.
Change the field Can only view logs? to Yes. When this is set, the only thing that the user will be able to do on the module's main page is click on the ...

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.