Openstack - Change Admin password for the Dashboar

2019-02-25 07:56发布

问题:

Where can I change the Admin Password for the Dasboard in Openstack?

I installed openstack with the packstack installer...

the password in the keystonerc_admin file doesn't work, too.

I use a CentOS 6.3 (and I have access to the config files)

username: admin password: admin/password/123/etc. don't work..

回答1:

SOLVED

$ export OS_SERVICE_TOKEN=$servicetoken(/etc/keystone/keystone.conf)
$ export OS_SERVICE_ENDPOINT=$http://ipoftheserver/v2.0

then use this syntax to change the password

$ keystone user-password-update --pass <password> <user id>


回答2:

openstack user password set --password <new-password> --original-password <current-admin-password>