The setsebool is used to set SELinux boolean value i.e. various
configurtions can be enabled or disabled using this tool. In other
words, the setsebool command switches on and off the protection of
Selinux. Type getsebool -a to see all such options which can be enabled
or disabled at run time:
For example, if httpd_disable_trans set to 1, it will disable SELinux protection for Apache web server. To disable it, enter:
To enable it, enter:
The following should give you a pretty complete listing of all the samba switches:
Code:
getsebool -a
Code:
setsebool httpd_disable_trans 1
Code:
setsebool httpd_disable_trans 0
Code:
getsebool -a | grep "*samba*"

Superb
ReplyDelete