From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
Cc: | Rob Tanner <rtanner(at)linfield(dot)edu>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: I've compiled and installed -- what next? |
Date: | 2007-01-13 03:13:58 |
Message-ID: | 17809.1168658038@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"Joshua D. Drake" <jd(at)commandprompt(dot)com> writes:
> Rob Tanner wrote:
>> ... I normally live in a MySql world and the first thing I do after
>> installing the DBMS is set the "root" or superuser password. The PDF
>> documentation talks about the superuser and database owner(s). How do I
>> define the superuser and then secure that user with a password?
> The default superuser for PostgreSQL is going to be the linux/unix user
> that you used the command initdb with. By default when you initdb in
> PostgreSQL (when you compile from source) it will allow any unix user to
> connect. Thus you can do this:
IIRC, initdb has some options to set the initial password and also to
make the initial authentication mode not be "trust". Good things to
use if you are on a system with other users you don't trust.
You'll want to at least skim the manual's discussion of client
authentication pretty soon. Password-based auth is not necessarily
the best choice.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Browne | 2007-01-13 03:14:12 | Re: [GENERAL] Autovacuum Improvements |
Previous Message | Scott Marlowe | 2007-01-13 00:38:41 | Re: FK Constraint on index not PK |