RHEL 8까지는 SELINUX disable하는 방법으로 많이 사용되었던

"/etc/selinux/config" 파일에 "SELINUX=disabled" 와 같이 SELINUX변수의 값을 수정 했었다.

 

RHEL 9에서는 SELINUX 변수값을 수정해도 적용되지 않는다.

RHEL 9에서 "/etc/selinux/config" 파일을 열어 보면 grubby 명령을 이용하여 켜거나 끄도록 안내되어져 있다.

 

구분 적용 방법
SELinux disabled # grubby --update-kernel ALL --args selinux=0
SELinux enabled # grubby --update-kernel ALL --remove-args selinux

 

- 참고: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/using_selinux/changing-selinux-states-and-modes_using-selinux#changing-selinux-modes-at-boot-time_changing-selinux-states-and-modes

'Applications > LINUX' 카테고리의 다른 글

DISK LABEL부여 하기  (0) 2025.04.09
[SUSE] SLES 15 ssh 접속 허용  (0) 2025.03.07
[RHEL 9] 달라진 GRUB 설정  (0) 2025.02.06
[RHEL9] NIS 지원 종료  (0) 2025.01.24
[github] Weather Research and Forecasting Model  (0) 2025.01.20

+ Recent posts