Postmaster startup

From: Oleg Lebedev <olebedev(at)waterford(dot)org>
To: pgsql-admin(at)postgresql(dot)org
Subject: Postmaster startup
Date: 2001-10-05 18:25:06
Message-ID: 3BBDFB02.8110693F@waterford.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,
I decided to tighten up security on the server and start postmaster as
postgres user on startup.
I have a script my_script that is run on startup, which has root
permissions. From this script I want to start postgres script, which is
owned by postgres (postgerSQL superuser) and has 's' bit set so that it
executes with postgres priviledges. When I try to run my_script, I get
an error:
postmaster: real and effective userids must match
what am I doing wrong?
Thanks for your help in advance,

Oleg

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2001-10-05 18:33:06 Re: Postmaster startup
Previous Message Tom Lane 2001-10-05 18:11:16 Re: Authorization problem