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

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

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

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

操作:

chroot /sysroot/ //切换到根系统
touch /.autorelabel //重置selinux标记
exit
reboot //重启

 

posted @ 2021-02-23 14:33  山河已无恙  阅读(206)  评论(0编辑  收藏  举报