openstack 忘记admin 密码
更新:HHH   时间:2023-1-7


环境:openstack Q版本
1:
export OS_TOKEN=cat /etc/keystone/keystone.conf | grep ^admin_token | awk -F '=' '{print $2}'
export OS_URL=http://YOUR_HOST:35357/v3
export OS_IDENTITY_API_VERSION=3

2:
openstack user set --password NEW_PASSWORD admin

NEW_PASSWORD替换成需要设置的密码

返回云计算教程...