AWS Oracle等无法root登录终极解决方案
|自从aws更新之后,root脚本就不生效了。
各种方式试过还是无法使用root及密码登录。
其他大厂暂无测试过。
还有另外一种方式来使用root登录,即重装系统也就是所谓的DD系统。
这种方式就是有点费时。
Git上有个开源脚本,测试过还不错,可以试试。
使用教程:
先下载脚本
curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh
然后重装系统,以Linux centos 9为例。
bash reinstall.sh centos 9
装好后修改密码即可。
passwd root
其他功能可查看项目主页。