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. | |
4. | To limit the log files that the user can view, select Only listed files and those under listed directories in the Can view and configure log files field and enter a list of filenames into the adjacent text box. This can be useful if some of the logs on your system contain sensitive or secure information. |
5. |
3.143.5.201