朱纯树博客
VPS测评推荐网站
cloudacead cloudacead

四种方法解决宝塔强制登陆

昨日有用户发现新的7.4.5版本的宝塔面板登录时被要求绑定宝塔官网账号,否则就无法继续使用面板。宝塔官方团队论坛回应称此举是为了“使用面板时方便很多,有什么安全提醒也可以第一时间发短信”。

但是宝塔面板的回应显得有些遮遮掩掩,不过这里面的具体原因就不去深究了。大鸟的宝塔用的是永久版本的专业版本,所以老早已经绑定了账号。

对于很多人不喜欢绑定官网账号,那么也是有解决办法的,毕竟宝塔是开源的面板,这里简单分享几个方法。但是不管如何宝塔都是一个非常好用的面板。

1、要求绑定官网站好的截图

截图如下:

四种方法解决宝塔强制登陆插图

你以为可以关闭么,你错了~~

四种方法解决宝塔强制登陆插图1

2、几个简单的小方法解决

1)宝塔有两个安装脚本,我们可以用(试验性Centos/Ubuntu/Debian安装命令 独立运行环境(py3.7) 可能存在少量兼容性问题 不断优化中)这个代码安装,目前还没有强制绑定的要求。

curl -sSO http://download.bt.cn/install/install_panel.sh && bash install_panel.sh

以上脚本目前还没有强制绑定的要求~~~

2)链接后面加上/soft、/files这样即可轻松越过强制绑定。

http://xxx.xxx.xxx.xxx:8888/soft

3)安装宝塔国际版

国际版是不会有强制绑定的要求的,而且和宝塔是一比一的相识,基本没有使用障碍。

地址:https://www.aapanel.com/

4)一键干掉宝塔强制登陆

先安装宝塔,如果登陆啥事都没有那最好
如果提示必须要登陆宝塔账户
那么,在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://link.kuruiit.com/268.html

赞(0) 打赏
未经允许不得转载:VPS测评推荐网站 - 朱纯树博客 » 四种方法解决宝塔强制登陆

评论 29

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #30

    Hello there, just became alert to your blog through Google,
    and found that it is truly informative. I’m gonna watch out for brussels.
    I’ll be grateful if you continue this in future.
    Numerous people will be benefited from your writing.

    Cheers!

  2. #29

    If some one wants to be updated with latest technologies then he must be pay
    a quick visit this web site and be up to date everyday.

  3. #28

    I’m really inspired along with your writing skills and also with the format to your blog.
    Is that this a paid subject or did you customize it
    yourself? Either way stay up the excellent high quality writing, it’s uncommon to look a great blog like this one
    these days..

    tinyurl.com1周前 (08-10)回复
  4. #27

    I pay a quick visit each day some sites and blogs to read articles,
    however this web site offers feature based content.

  5. #26

    Hey very nice blog!

  6. #25

    Thank you for the good writeup. It in fact was a amusement account it.
    Look advanced to more added agreeable from you! However, how could we communicate?

    tinyurl.com2周前 (08-03)回复
  7. #24

    Just want to say your article is as amazing.
    The clearness for your put up is just excellent and that i can suppose you’re an expert on this subject.
    Fine together with your permission allow me to grab your RSS feed to keep up to date with approaching
    post. Thank you a million and please keep up the rewarding work.

  8. #23

    Someone necessarily lend a hand to make significantly posts
    I would state. That is the very first time I frequented
    your web page and to this point? I amazed with the research you made to
    create this actual publish extraordinary. Fantastic task!

    tinyurl.com3周前 (07-28)回复
  9. #22

    I’m not that much of a internet reader to be honest but your blogs really nice,
    keep it up! I’ll go ahead and bookmark your site to come back later.
    All the best

  10. #21

    You really make it seem so easy with your presentation but I find this topic to be actually something that I think I would
    never understand. It seems too complex and very broad for me.
    I’m looking forward for your next post, I will try to get the
    hang of it!

  11. #20

    I am now not certain where you are getting your
    information, but great topic. I needs to spend a while finding
    out much more or figuring out more. Thank you for fantastic information I
    used to be in search of this info for my mission.

    tinyurl.com1个月前 (07-07)回复
  12. #19

    You’re so awesome! I do not suppose I’ve truly read through a
    single thing like this before. So wonderful to discover another person with a few original thoughts on this issue.
    Really.. thanks for starting this up. This site is something that is required on the internet,
    someone with a little originality!

    tinyurl.com2个月前 (06-12)回复
  13. #18

    Hey there! I’m at work surfing around your blog from my new
    iphone 4! Just wanted to say I love reading your blog and look forward to all your
    posts! Carry on the great work!

    tinyurl.com2个月前 (06-12)回复
  14. #17

    Thanks for sharing your thoughts about 宝塔面板. Regards

    tinyurl.com2个月前 (06-11)回复