SELinux (Linux のセキュリティ機能)[edit]

設定の確認[edit]

# getsebool -a 

FTP(vsftpd) を使えるようにする[edit]

# getsebool -a | grep ftpd
# setsebool -P ftpd_full_access on

無効化[edit]

# getenforce
Enforced
# setenforce 0
# getenforce
Permissive
# vi /etc/sysconfig/selinux                        SELINUX=disabled にする.
# reboot
......
# getenforce
Disabled

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 ページ一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2023-08-29 (火) 12:23:44