为了能快速了解并处理您的问题,请提供以下基础信息: 问题描述:ssh链接后使用bt 5 无法修改密码,面板也无法登录了
请输入新的面板密码:123456
Traceback (most recent call last):
File "/www/server/panel/tools.py", line 1679, in <module>
bt_cli(clinum)
File "/www/server/panel/tools.py", line 1332, in bt_cli
set_panel_pwd(input_pwd.strip(), True)
File "/www/server/panel/tools.py", line 167, in set_panel_pwd
result = public.M('users').where('id=?', (1,)).setField('password', public.password_salt(public.md5(password), uid=1))
File "/www/server/panel/class/public.py", line 3738, in password_salt
return md5(md5(password + '_bt.cn') + salt)
TypeError: can only concatenate str (not "list") to str
使用bt 14查看默认信息也有报错
Traceback (most recent call last):
File "/www/server/panel/tools.py", line 1636, in <module>
set_panel_username()
File "/www/server/panel/tools.py", line 581, in set_panel_username
print('username: ' + username)
TypeError: can only concatenate str (not "list") to str
password: ********
|
|