Re: Postgresql Error ask for password

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: José Pedro Santos *EXTERN* <zpsantos1(at)hotmail(dot)com>, "Postgres Ajuda" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgresql Error ask for password
Date: 2012-08-31 14:55:54
Message-ID: D960CB61B694CF459DCFB4B0128514C2085891F5@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Pedro Santos wrote:
> Im trying to install one application in my Linux but when I try to use the expression SU postgresql it
> ask for password, what is the password? I try my root password but dont work.

It may be that you never set that password.

Try "grep postgresql /etc/shadow" as root user.
If the second field is "!!", there is no password set.

You can either become root first, then you need no password
for "su postgresql", or you have to set a password.

You can change the password as user root with
"passwd postgresql".

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message José Pedro Santos 2012-08-31 15:03:23 Re: Postgresql Error ask for password
Previous Message Rainer Pruy 2012-08-31 14:52:04 Re: Postgresql Error ask for password