Re: real and effective user ids must match

From: david(dot)lao(at)sharpasia(dot)com(dot)mo
To: Michael Fuhr <mike(at)fuhr(dot)org>, david(dot)lao(at)sharpasia(dot)com(dot)mo
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-admin(at)postgresql(dot)org
Subject: Re: real and effective user ids must match
Date: 2006-09-15 03:56:18
Message-ID: 3005.202.175.123.162.1158292578.mailsage.folio@sharpasia.com.mo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

su -l postgres -s /bin/sh -c id output:
uid=0(root) gid=26 euid=26(postgres) groups=26

su -l postgres -s /bin/sh -c "/usr/bin/postmaster -D $PGDATA" output
/usr/bin/postmaster: real and effective user ids must match

I am running Redhat 8, it is same way to start the postgres "/etc/rc.d/init.d/postgresql start",

>When was the last time you successfully started the postmaster the
>same way you're trying now? How long had you been running PostgreSQL
>without any problems? If it used to work then something has changed.

I am running Redhat 8, it is same way to start the postgres "/etc/rc.d/init.d/postgresql start", I running postgre about 2 years ago, maybe it is the hacker do it, because before I found one unknown user and delect it, and then I restart the service with error.

David

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Michael Fuhr 2006-09-15 04:31:23 Re: real and effective user ids must match
Previous Message Michael Fuhr 2006-09-15 03:37:51 Re: real and effective user ids must match