Re: [ADMIN] postgresql-6.3.2 question

From: Peter Mount <pgsqladmin(at)retep(dot)org(dot)uk>
To: "Brett W(dot) McCoy" <bmccoy(at)lan2wan(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] postgresql-6.3.2 question
Date: 1998-05-17 22:25:25
Message-ID: Pine.LNX.3.95.980517232438.12980A-100000@retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Sun, 17 May 1998, Brett W. McCoy wrote:

> On Sun, 17 May 1998, Peter Mount wrote:
>
> > I've installed it both ways:
> >
> > * As root, when installing under /usr/local
> > * As postgres, when installing under /home/postgres
> >
> > The only thing I have yet to find how to setup without root, is starting
> > the postmaster when the system boots.
>
> For that, you do need to be root, since the startup scripts only have
> permissions for root access, unless you want to compromise the security of
> your system.

Exactly

> However, you DO want the postmaster to be started by user postgres
> within the startup scripts.

Postgres will not run as root - it kills itself on purpose if you try.

--
Peter T Mount peter(at)retep(dot)org(dot)uk or petermount(at)earthling(dot)net
Main Homepage: http://www.retep.org.uk
************ Someday I may rebuild this signature completely ;-) ************
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter(at)maidstone(dot)gov(dot)uk

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message The Hermit Hacker 1998-05-17 23:08:27 Re: [ADMIN] postgresql-6.3.2 question
Previous Message Brett W. McCoy 1998-05-17 20:52:09 Re: [ADMIN] postgresql-6.3.2 question