forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
2.4 KiB
2.4 KiB
How Do I Change the Password of a GaussDB(DWS) Database Account When It Expires?
Below are the methods for changing the password of a database account:
- To change the password of the database administrator dbadmin, log in to the console and choose More > Reset Password in cluster row.
- You can also connect to the database and run the ALTER USER command to change the password validity period of a database account (common user and administrator dbadmin).
1ALTER USER username PASSWORD EXPIRATION 90;
Parent topic: Account Permissions
