Received: from mail1.waterford.org (mail1.waterford.org [205.124.117.6]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f95I6cn90638 for ; Fri, 5 Oct 2001 14:06:43 -0400 (EDT) (envelope-from olebedev@waterford.org) Received: from waterford.org ([205.124.138.93]) by mail1.waterford.org (Netscape Messaging Server 3.56) with ESMTP id 340 for ; Fri, 5 Oct 2001 11:56:59 -0600 Message-ID: <3BBDFB02.8110693F@waterford.org> Date: Fri, 05 Oct 2001 12:25:06 -0600 From: Oleg Lebedev X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Postmaster startup Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Archive-Number: 200110/57 X-Sequence-Number: 2303 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