Postmaster startup - Mailing list pgsql-admin

From Oleg Lebedev
Subject Postmaster startup
Date
Msg-id 3BBDFB02.8110693F@waterford.org
Whole thread Raw
Responses Re: Postmaster startup
Re: Postmaster startup
Re: Postmaster startup
List 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



pgsql-admin by date:

Previous
From: "Pedro Fonseca"
Date:
Subject: Re: Authorization problem
Next
From: Tom Lane
Date:
Subject: Re: Authorization problem