扫二维码与项目经理沟通
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流
如果你忘记了CP gaia expert密码,那么使用下面的方法重置。
创新互联建站专注为客户提供全方位的互联网综合服务,包含不限于做网站、成都网站建设、渝水网络推广、重庆小程序开发、渝水网络营销、渝水企业策划、渝水品牌公关、搜索引擎seo、人物专访、企业宣传片、企业代运营等,从售前售中售后,我们都将竭诚为您服务,您的肯定,是我们最大的嘉奖;创新互联建站为所有大学生创业者提供渝水建站搭建服务,24小时服务热线:18980820575,官方网址:www.cdcxhl.com
思路就是利用现有用户的密码,覆盖expert的密码,因为CP里面的密码都是加密的,所以,你即使有可以SSH 进gaia,但是密码也无法被反向解密的,所以只能覆盖。
Follow these steps:
Connect to CLI on Gaia machine (over SSH, or console).
Log in to CLISH with the user that has an 'adminRole' (user with 'monitorRole' does not have sufficient permissions).
Find the hash of the CLISH password:
HostName> show configuration
One line near the end will look similar to this:
set user USERNAME password-hash $1$vCbd0F3d$FjawgvrKBN.4Ed27hTPpB0
Set the hash of the CLISH password to be the hash of the Expert mode password:
R75.40 / R75.40VS / R75.45 / R75.46 / R75.47:
HostName> set expert-password hash HASH_of_CLISH_PASSWORD
Based on our example:
HostName> set expert-password hash $1$vCbd0F3d$FjawgvrKBN.4Ed27hTPpB0
R76 / R77 and above (dash was added in the syntax):
HostName> set expert-password-hash HASH_of_CLISH_PASSWORD
Based on our example:
HostName> set expert-password-hash $1$vCbd0F3d$FjawgvrKBN.4Ed27hTPpB0
Save the configuration:
HostName> save config
Set new Expert mode password:
R75.45 and above:
HostName> set expert-password
Enter current expert password: type the current CLISH password
Enter new expert password:
Enter new expert password (again):
R75.40 and R75.40VS:
HostName> set expert-password plain
Enter current expert password: type the current CLISH password
Enter new expert password:
Enter new expert password (again):
Save the configuration:
HostName> save config
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流