vps交流

[疑问] 宝塔7.8还有什么强制去登陆的方法吗?


rm -rf /www/server/panel/data/bind.pl

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

sed -i -r "s/not not get_user_info()/True/" /www/server/panel/class/public.py && bt 1
都不管用

降级为7.4.3
https://hostloc.com/forum.php?mod=viewthread&tid=747313

244643246 发表于 2021-12-31 20:17
降级为7.4.3
https://hostloc.com/forum.php?mod=viewthread&tid=747313

感谢大佬

换宝塔国际版
rm -f /www/server/panel/data/bind.pl & rm -f /www/server/panel/data/sid.pl
wget -O/www/server/panel/data/userInfo.json https://www.btpanel.cm/api/shell/userInfo -t 10 & chattr +i /www/server/panel/data/userInfo.json