カテゴリ
最新の記事
以前の記事
検索
その他のジャンル
ファン
記事ランキング
ブログジャンル
画像一覧
|
SELinux は使いこなせば便利らしいんですが使いこなせる気がしないので、いつも無効化しています。
・有効・無効の確認 genforce コマンドを使います。Enforcing と出力されたら有効化中。 # /usr/sbin/getenforce Enforcing ・無効化 設定ファイル /etc/selinux/config の SELINUX=enforcing を SELINUX=disabled に修正します。 # more /etc/selinux/config # 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 - SELinux is fully disabled. SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted ・再起動 shutdown コマンドなどで CentOS を再起動 ・有効・無効の確認 Disabled と出力されたら無効化中。 # /usr/sbin/getenforce
Disabled
by hoge001
| 2010-09-05 21:15
| CentOS
|
ファン申請 |
||