리눅스
CentOS 6에서 SELinux을 해제하는 방법
변군이글루
2013. 9. 29. 01:13
반응형
CentOS 6에서 SELinux을 해제하는 방법
ls -lZ /usr/sbin/named
$ ls -lZ /usr/sbin/named
-rwxr-xr-x root root system_u:object_r:named_exec_t /usr/sbin/named
chcon -R -u system_u -t named_exec_t /usr/local/nbind/sbin/named
$ chcon -R -u system_u -t named_exec_t /usr/local/nbind/sbin/named
setsebool -P named_write_mastet_zoned on
$ setsebool -P named_write_mastet_zoned on
egrep -i 'avc|ntfs-3g' /var/log/messages | audit2allow -M ntfs3g
$ egrep -i 'avc|ntfs-3g' /var/log/messages | audit2allow -M ntfs3g
semodule -i ntfs3g.pp
$ semodule -i ntfs3g.pp
allow named_t named_t:process { getcap setcap };
setsebool -P named_disable_trans=1
참고URL
- CentOS SELinux를 비활성화하는 방법 : https://scbyun.com/867
- centos selinux 해제 : https://scbyun.com/375
- selinux 설정 해제하기 : https://scbyun.com/67
728x90
반응형