installing Postgres

Brandon Allbery allbery.b at
Tue Sep 13 14:07:22 PDT 2011

On Tue, Sep 13, 2011 at 16:59, Puneet Kishor <punk.kish at> wrote:

> $sudo su postgres -c '/opt/local/lib/postgresql90/bin/pg_ctl start -D
> /path/to/db/postgresql90/defaultdb -l ~/Logs/postgresql90-server/main.log'
> but, I don't know the password for the 'postgres' user

Are you using the actual command you quoted?  The "sudo" shifts to root,
which doesn't need a password to "su postgres".

brandon s allbery                                      allbery.b at
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list