SELinux 정리

SELinux란?

image.png

SELinux(Security-Enhanced Linux)는 Linux 커널 보안 모듈로,

기존 Linux 권한 시스템보다 더 강력한 접근 제어 기능을 제공한다.

기존 Linux는 파일 권한(r,w,x) 기반의 DAC(Discretionary Access Control)를 사용한다.

SELinux는 여기에 추가로 MAC(Mandatory Access Control)를 적용한다.

즉:


기존 Linux 권한과 차이점

DAC (Discretionary Access Control)

일반 Linux 권한 시스템

예시:

chmod 777 file1

파일 소유자가 자유롭게 권한 설정 가능

문제점: