LinuxSoftware

Coding and tramping in Aotearoa / New Zealand

nsa_poster.jpg

Security Enhanced Linux

/!\ TODO: learn more about SELinux

Examples

Add another port for MySQL to use: semanage port -a -t mysqld_port_t -p tcp 3307

Restore files' attributest to how the should be: restorecon -R -v '/home/david/stuff

Switch SELinux off (or on): setenforce 0 (and I used to think this required a reboot!)

access_control.jpg