User Tools

Site Tools


computing:linux:selinux

This is an old revision of the document!


Security Enhanced Linux

http://www.crypt.gen.nz/selinux/disable_selinux.html

http://wiki.centos.org/HowTos/SELinux

ls -Z

ps axZ

Example:

ls -Z /var/log/BackupPC/

restorecon -R -v /var/log/BackupPC

system_u:object_r:var_log_t

chcon -Rv -t httpd_sys_content_t /var/log/BackupPC

BackupPC mailing list says it should be:

system_u:object_r:httpd_sys_content_t:s0

Disable selinux

Edit the config file and set to disabled:

sed -i 's/enforcing/disabled/g' /etc/selinux/config /etc/selinux/config

setenforce 0
computing/linux/selinux.1414882434.txt.gz · Last modified: 2014/11/01 16:53 by gcooper