Change user password

From MediaWiki
Revision as of 15:51, 3 July 2024 by Sst-ska (talk | contribs)
Jump to navigation Jump to search

Overview

This page describes how to change the OpenStack password of a user.

Change password

Do this with a high privileges user:

# Set some variables
domain_name=""    # The OpenStack domain in which the user resided, for example: stepping stone AG
domain_user=""    # The OpenStack user name, for example: sst-mei
# user_id
openstack user show \
    --domain "${domain_name}" \
    ${domain_user}

# Note the space at the start of the line. It prevents bash from saving this line to your bash history
 new_password=''
openstack user set \
    --domain "${domain_name}" \
    --password "${new_password}" \
    ${domain_user}

unset new_password