一键关掉宝塔的强制登陆

Auth:猫饭       Date:2020/09/25       Cat:代码       Word:共305字       Views:39

先安装宝塔,如果登陆啥事都没有那最好 如果提示必须要登陆宝塔账户 那么,在terminal里执行

[prism lang=""]sed -i "s|if (bind_user == 'True') {|if (bind_user == 'REMOVED') {|g" /www/server/panel/BTPanel/static/js/index.js[/prism]

完工

同理,如果要还原

[prism lang=""]sed -i "s|if (bind_user == 'REMOVED') {|if (bind_user 2 'True') {|g" /www/server/panel/BTPanel/static/js/index.js[/prism]

除非注明,猫饭文章均为原创,本文地址 https://maofun.com/1423.html,转载请以链接形式注明出处。

作者: 简介:

《一键关掉宝塔的强制登陆》留言数:1

发表留言