Linux AS4.0下登入提示“Do you want to choose a different one? [n] ” 处理方法

比如:
Password:
Your default context is user_u:system_r:unconfined_t.

Do you want to choose a different one? [n]
Last login: Wed Jun 6 21:44:04 from 10.157.143.43
[oracle@Brazil_DMDISty ~]$


DMD-Graphic<*graphic*/etc/selinux>ls
config targeted
DMD-Graphic<*graphic*/etc/selinux>
DMD-Graphic<*graphic*/etc/selinux>

將其中的 SELINUX=enforcing 注释掉,然后加入

SELINUX=disabled 即可。


DMD-Graphic<*graphic*/etc/selinux>cat 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=enforcing
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
DMD-Graphic<*graphic*/etc/selinux>ls
config targeted
DMD-Graphic<*graphic*/etc/selinux>

请使用浏览器的分享功能分享到微信等