Linux (X86) 자료실 - 포기하지 않으면 실패하지 않는다!
Vote Modify Delete Forward Prev Next List

  작성자   : 조성환 [ ladmin ] 추천: 447, 수정: 1, 조회: 1073, 줄수: 28, 분류: Etc.
보안이 설정된 SELinux 기능 해제(SELINUX=disabled)

[root@localhost ~]# cd /etc/sysconfig

[root@localhost sysconfig]# ls
anaconda  cpupower         grub              kdump    network          rhn        selinux
atd       crond            ip6tables-config  kernel   network-scripts  rsyslog    selinux_20200427
chronyd   ebtables-config  iptables-config   man-db   nftables.conf    run-parts  smartmontools


[root@localhost sysconfig]# cat 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=disabled
# SELINUXTYPE= can take one of these three values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected.
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

위와 같이 SELINUX=disabled 으로 설정 후 저장하시면 보안이 설정된 SELinux 기능을 해제할 수 있습니다.

참고로 Default 값은 SELINUX=enforcing 입니다.

이전: centos 8에서 표준시간 설정하기(NTP, chronyd, timedatectl)
다음: 디스크 파티션 생성, 포맷, 마운트하는 방법 소개 [강추]
2020/11/02(14:14) from 121.189.168.65
CrazyWWWBoard 2000

Vote Modify Delete Forward Prev Next List
(c) Nobreak Technologies, Inc.