Change user password: Difference between revisions

From MediaWiki
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:
|-|CLI=
|-|CLI=


= Change password =
= Change password - CLI =
Do this with a high privileges user:
Do this with a high privileges user:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
Line 29: Line 29:


|-|Dashboard =
|-|Dashboard =
ooo
= Change password - Dashboard =
Log in on [dashboard.stoney-cloud.com Dashboard]
 
</tabber>
</tabber>


[[Category: Troubleshooting]]
[[Category: Troubleshooting]]

Revision as of 16:13, 4 July 2024

Overview

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

Change password - CLI

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

Change password - Dashboard

Log in on [dashboard.stoney-cloud.com Dashboard]