Change user password: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= Overview = This page describes how to change the password of a user. = Change password = Do this with a high privileges user: <source lang='bash'> # 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 </source> <source lang='bash'> # user_id openstack user show \ --domain "${domain_name}" \ ${domain_user} # Note the space at the...") |
No edit summary |
||
Line 4: | Line 4: | ||
= Change password = | = Change password = | ||
Do this with a high privileges user: | Do this with a high privileges user: | ||
< | <syntaxhighlight lang="bash"> | ||
# Set some variables | # Set some variables | ||
domain_name="" # The OpenStack domain in which the user resided, for example: stepping stone AG | 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 | domain_user="" # The OpenStack user name, for example: sst-mei | ||
</ | </syntaxhighlight> | ||
< | <syntaxhighlight lang="bash"> | ||
# user_id | # user_id | ||
openstack user show \ | openstack user show \ | ||
Line 23: | Line 23: | ||
unset new_password | unset new_password | ||
</ | </syntaxhighlight> | ||
[[Category: Troubleshooting]] | [[Category: Troubleshooting]] |
Revision as of 10:21, 1 July 2024
Overview
This page describes how to change the 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