Single

一键干掉宝塔的强制登陆

传闻最近宝塔新版本提示必须要登陆宝塔账户

在terminal里执行

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

同理,如果要还原

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

https://www.hostloc.com/thread-747919-1-1.html

暂无评论

发表评论