pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oleg Lebedev <olebedev@waterford.org>
To: pgsql-admin@postgresql.org
Subject: Postmaster startup
Date: Fri, 05 Oct 2001 12:25:06 -0600
Message-ID: <3BBDFB02.8110693F@waterford.org> (raw)

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





view thread (4+ messages)  latest in thread

Message-ID: <3BBDFB02.8110693F@waterford.org>
Permalink:  ../3BBDFB02.8110693F@waterford.org/
Also on:    postgresql.org/message-id/3BBDFB02.8110693F@waterford.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: olebedev@waterford.org
  Subject: Re: Postmaster startup
  In-Reply-To: <3BBDFB02.8110693F@waterford.org>
  References: <3BBDFB02.8110693F@waterford.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox