SE Linuxを無効にしてみる

[root@linux ~]# getenforce ← SELinux状態確認
Enforcing ← SELinux有効

[root@linux ~]# setenforce 0 ← SELinux無効化

[root@linux ~]# getenforce ← SELinux状態確認
Permissive ← SELinux無効

[root@linux ~]# vi /etc/sysconfig/selinux ← SELinux設定ファイル編集
SELINUX=enforcing
↓
SELINUX=disabled ← システム起動時にSELinuxを無効化

カテゴリ

Photo: Jaz. Mine / Unsplash LicensePhoto: Se. Tsuchiya / Unsplash LicensePhoto: Sergio / Unsplash LicensePhoto: Robert Bant / Unsplash LicensePhoto: Zhi Xuan Hew / Unsplash License