what is my postgresql password ubuntu code example Example: postgresql linux password postgres=# ALTER USER postgres PASSWORD 'myPassword'; ALTER ROLE