mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-11-02 08:10:03 -06:00
The 'Change Password...' option on a server node was ambiguous, because it changes the password of the PostgreSQL role that pgAdmin connects with, yet read as though it might change the pgAdmin login password instead. The menu option and its dialog are now called 'Change Server Password', with the connected role name in the dialog title, and the equivalent option in the user menu becomes 'Change pgAdmin Password', so that the two can no longer be confused with one another. The dialog's own 'User' field was always blank, since the userName prop that showChangeServerPassword passes was never accepted by ChangePasswordContent; it is now wired through, which also makes the existing documentation of that field accurate. The documentation for both dialogs has been updated to match the new names, along with a couple of button names that had drifted. Fixes #9230.
49 lines
2.1 KiB
ReStructuredText
49 lines
2.1 KiB
ReStructuredText
.. _change_password_dialog:
|
|
|
|
**************************************
|
|
`Change Server Password Dialog`:index:
|
|
**************************************
|
|
|
|
It is a good policy to routinely change your password to protect data, even in
|
|
what you may consider a 'safe' environment. In the workplace, failure to apply
|
|
an appropriate password policy could leave you in breach of Data Protection
|
|
laws.
|
|
|
|
Please consider the following guidelines when selecting a password:
|
|
|
|
* Ensure that your password is an adequate length; 6 characters should be the
|
|
absolute minimum number of characters in the password.
|
|
* The minimum password length is set by default to six characters. This value
|
|
can be changed by setting the *PASSWORD_LENGTH_MIN* option to desired length
|
|
in pgAdmin configuration; see :ref:`config_py` for more information.
|
|
* Ensure that your password is not open to dictionary attacks. Use a mixture of
|
|
upper and lower case letters and numerics, and avoid words or names. Consider
|
|
using the first letter from each word in a phrase that you will remember
|
|
easily but is an unfamiliar acronym.
|
|
* Ensure that your password is changed regularly; at minimum, change it every
|
|
ninety days.
|
|
|
|
The guidelines above should be considered a starting point: They are not a
|
|
comprehensive list and they **will not guarantee security**.
|
|
|
|
.. image:: images/password.png
|
|
:alt: Change database password dialog
|
|
:align: center
|
|
|
|
Use the *Change Server Password* dialog to change the password of the role that
|
|
pgAdmin uses to connect to the database server, rather than the password you use
|
|
to log in to pgAdmin itself:
|
|
|
|
* The name displayed in the *User* field is the role for which you are modifying
|
|
the password; it is the role that is associated with the server connection
|
|
that is highlighted in the tree control.
|
|
* Enter the password associated with the role in the *Current Password* field.
|
|
* Enter the desired password for in the *New Password* field.
|
|
* Re-enter the new password in the *Confirm Password* field.
|
|
|
|
Click the *Change* button to change your password.
|
|
|
|
Click the *Close* button to exit without changing your password.
|
|
|
|
Click the *Reset* button to reset the values.
|