SELinux如何权限
-
Ubuntu SELinux如何权限
Ubuntu默认使用AppArmor,若要使用SELinux需先安装相关包,如selinux-basics、selinux-policy-default等。以下是其权限设置相关操作:查看状态:用sestatus查看SELinux是否启用及当前模式。设置模式:临时用setenforce 0(Permissive)或setenforce 1(Enforcing);永久修改则编辑/etc/selinu
Ubuntu默认使用AppArmor,若要使用SELinux需先安装相关包,如selinux-basics、selinux-policy-default等。以下是其权限设置相关操作:查看状态:用sestatus查看SELinux是否启用及当前模式。设置模式:临时用setenforce 0(Permissive)或setenforce 1(Enforcing);永久修改则编辑/etc/selinu