Table of Contents Previous Next


6 Console Management : 6.4 Changing Console Passwords

name: postgres
password: 0f42d1934a1a19f3d25d6288f2a3272c6143fc5d
You can use the SQL ALTER ROLE command and the psql client to change the password on the Postgres server. To start the psql client, the bin directory must be in your search path. At a terminal window, connect to the psql client with the command:
When prompted, supply the password of the postgres database user. After connecting to the database, you can use the ALTER ROLE command to modify the password associated with the postgres user:
new_password is the new password of the postgres role.
new_password is the password of the postgres role.
If you have enabled console backups, you must also modify the ppcd.properties files, adding the new password:
Then, modify the .pgpass file, replacing the old password associated with the postgres role with the new password. By default, the .pgpass file is located in the home directory of the ppcd user (~ppcd). Use your choice of editor to modify the .pgpass file, updating the password.
name: admin
password: ChangeIt2015!
Then, use the asadmin utility to change the password (see Figure 6.1). The utility will prompt you through the process of resetting your password:
Provide the password associated with the administrative user and press Return; by default, the password is ChangeIt2015!.
Confirm the new password, and press Return. The asadmin utility will confirm:
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\17317cbf\Screen Shot 2016-02-16 at 11.43.53 AM.png

Figure 6.1 – Changing the console user's password.
If you are use the asadmin utility often (for example, starting and stopping the console server), you can use the asadmin login command to save the credentials for the current connected user. Use ssh to connect to the console image, and invoke the command:
C:\Users\susan\AppData\Local\Temp\vmware-susan\VMwareDnD\96b3fe3a\Screen Shot 2016-02-16 at 11.44.44 AM.png

6 Console Management : 6.4 Changing Console Passwords

Table of Contents Previous Next