Starting postmaster in rc.local

From: "Chris Boget" <chris(at)wild(dot)net>
To: "PGSql Novice" <pgsql-novice(at)postgresql(dot)org>
Subject: Starting postmaster in rc.local
Date: 2002-12-02 14:31:44
Message-ID: 00ab01c29a0f$89e3a660$8c01a8c0@ENTROPY
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On the following page

http://www.postgresql.org/idocs/index.php?installation.html

It says that I need to su to the user postgres to start postmaster.
In fact, when I try to start it as user root, it won't let me and that
is somewhat understandable. But ideally, I'd like it so that user
postgres does not have a shell (which is what I've done for the
mysql user I had to set up).
When I tried to set up the command to start up postgres in the
rc.local to run as user postgres, I'm having problems. I know there
has got to be a way for me to be able to do this but I'm still too
new to *nix to know how. I've looked throughout the PgSQL docs,
mimiced the line I have for mysql (but making the relevant changes),
did some searches on the web but have come up blank.
Could someone point me to where I need to look to discover how
to do what I want?

thnx,
Chris

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Patrick 2002-12-02 16:34:04 how to recover superuser password ?
Previous Message Henshall, Stuart - Design & Print 2002-12-02 09:27:13 Re: Missing Data Directory