主机宝Linux版忘记后台密码重置方法

SSH登录服务器
1:下载重置密码的脚本
2:给脚本可执行权限
3:执行脚本,脚本文件后空格然后跟上要重置的新密码

wget http://dl2.admin5.com/scripts/modlogin.sh

chmod -R 755 modlogin.sh

./modlogin.sh  newpasssword

Last modification:January 2nd, 2018 at 12:17 am
If you think my article is useful to you, please feel free to appreciate

Leave a Comment