Comments on How to Install Webmin on CentOS 8
Webmin is a free, open-source and web-based system configuration and management tool for Unix-like operating systems. In this tutorial, we will show you how to install Webmin using two different methods on CentOS 8.
5 Comment(s)
Comments
While Cockpit may not offer all of the functionality Webmin does (that it has modules for), it is really what you should be using since it is provided by RHEL upstream and available and supported in many distributions.
Is there no where to install it with SELinux enabled. I don't understand how you provide instructions for CentOS Linux with the main reason to use it disabled.
Thanks ...
Disable SELinux? Really?
enable SELinux = GOOD, disable SELinux = BAD
That is a typical classic lack of security insight and/or just too troublesome trying to explain to people how SELinux works or what the purpose is...
To install webmin with SELinux enabled, just install as per normal and afterwards include:
sudo dnf -y --nobest install policycoreutils-python-utilsthen you can review the audit logs to determine what has triggered an event:
sudo cat /var/log/audit/audit.log | grep deniedor
sudo ausearch -m AVCFrom that output you can create and execute a rules file to allow the triggered event
e.g. for nginx
sudo cat /var/log/audit/audit.log | grep nginx | grep denied | audit2allow -M mynginx sudo semodule -i mynginx.ppor
sudo ausearch -m AVC | grep -E 'http|nginx' | audit2allow -a -M mynginx_rule sudo semodule -i mynginx_rule.ppRun the audit2allow -a command to view the Type Enforcement rule that allows the denied access:
sudo audit2allow -aI hope this helps someone that is interested in keeping their system secure.
Cheers,
--- g ---