Re: Ubuntu installed postgresql password failure - Mailing list pgsql-general

From Martín Marqués
Subject Re: Ubuntu installed postgresql password failure
Date
Msg-id 55F6A002.7050302@2ndquadrant.com
Whole thread Raw
In response to Re: Ubuntu installed postgresql password failure  (Jan de Visser <jan@de-visser.net>)
Responses Re: Ubuntu installed postgresql password failure
Re: Ubuntu installed postgresql password failure
List pgsql-general
El 13/09/15 a las 18:20, Jan de Visser escribió:
>
> Try
>
> jan@bison:~$ sudo -u postgres -s
> postgres@bison:~$ psql
> psql (9.4.4)
> Type "help" for help.
>
> postgres=# ALTER USER postgres PASSWORD 'postgres';
> ALTER ROLE
> postgres=# \q

I would recommend using psql's \password meta-command instead of ALTER
USER to change a password, as to avoid having the password stamped in
the logs.

Regards,

--
Martín Marqués                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: BDR problem
Next
From: Christian Ramseyer
Date:
Subject: Re: GIN Trigram Index Size