阿里云开启selinux无法启动系统问题

云服务器 ECS > 最佳实践 > 安全 开启或关闭SELinux

https://help.aliyun.com/document_detail/157022.html

 bos系统第一个进去,免密登录系统。

操作:

chroot /sysroot/ //切换到根系统
touch /.autorelabel //重置selinux标记
exit
reboot //重启
加油,愿被这世界温柔以待 ^_^
原文地址:https://www.cnblogs.com/liruilong/p/14435863.html