installing Postgres
Brandon Allbery
allbery.b at gmail.com
Tue Sep 13 14:07:22 PDT 2011
On Tue, Sep 13, 2011 at 16:59, Puneet Kishor <punk.kish at gmail.com> 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 gmail.com
wandering unix systems administrator (available) (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110913/6898b567/attachment.html>
More information about the macports-users
mailing list