Re: postgresql db account - Mailing list pgsql-novice

From Richard Broersma Jr
Subject Re: postgresql db account
Date
Msg-id 20061004222711.28687.qmail@web31804.mail.mud.yahoo.com
Whole thread Raw
In response to postgresql db account  (Ray Stell <stellr@cns.vt.edu>)
Responses Re: postgresql db account  (Sean Davis <sdavis2@mail.nih.gov>)
Re: postgresql db account  (Ray Stell <stellr@cns.vt.edu>)
List pgsql-novice
> What is the default pw for the postgresql db account?
> Is it a correct management practice to change this pw?
>
> template1=# select * from pg_user;
>   usename   | usesysid | usecreatedb | usesuper | usecatupd |  passwd  | valuntil | useconfig
> ------------+----------+-------------+----------+-----------+----------+----------+-----------
>  postgresql |       10 | t           | t        | t         | ******** |          |

My understanding is that the "postgres" account both OS and DB do not have a password.

On a *nix OS, postgres can only be su - from a privileged root account.  This way it can not be
directly logged into.  This is supposed to be more secure, since you only have to worry about your
root password being cracked.

Regards,

Richard Broersma Jr.

pgsql-novice by date:

Previous
From: Ray Stell
Date:
Subject: postgresql db account
Next
From: Richard Broersma Jr
Date:
Subject: Re: pg_ctl -D?