How to change a password of an OpenStack Keystone user

Solution Verified - Updated -

Issue

  • How to change a password of an OpenStack Keystone user
  • openstack user set --password command fails with HTTP 403 error like the following example:

    [stack@undercloud ~]$ openstack user set --password password aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    You are not authorized to perform the requested action: identity:update_user. (HTTP 403) (Request-ID: req-aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa)
    
  • openstack user password set command cannot change password of other users

    [stack@undercloud ~]$ openstack user password set other_user
    usage: openstack user password set [-h] [--password <new-password>] [--original-password <original-password>]
    openstack user password set: error: unrecognized arguments: other_user
    
  • [security_compliance] unique_last_password_count of keystone.conf doesn't work when changing a password using openstack user set --password command

Environment

  • Red Hat OpenStack Platform 17.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content