로그인 회원가입
모두인포
전체IT경제사회생활스포츠시사여행연애

CentOS selinux 설정

lmkfox · 2021-02-21 · 조회 2
CentOS selinux 설정
CentOS 중 극악의 방화벽중 하나인 SElinux    설정 하는 방법   #vi /etc/sysconfig/selinux   # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: #     enforcing - SELinux security policy is enforced. #     permissive - SELinux prints warnings instead of enforcing. #     disabled - No SELinux policy is loaded. SELINUX=enforcing # SELINUXTYPE= can take one of these two values: #     targeted - Targeted processes are protected, #     mls - Multi Level Security protection. SELINUXTYPE=targeted   위에 빨간색으로 된 부분을 바꿔 주면 된다 .   기본 설정이 SELINUX = enforcing 일 것이다.    이것을 SELINUX = disabled 로 변경 해주고 저장해 주면 끝!!   그리고 재부팅!!   혹은    #seterforce 0    이렇게 해주면 즉시 적용 가능하다 대신 리부팅 하면 다시 원래대로 복구!

댓글

아직 댓글이 없습니다.

로그인 후 댓글을 남길 수 있습니다.