Re: real and effective user ids must match - Mailing list pgsql-admin

From david.lao@sharpasia.com.mo
Subject Re: real and effective user ids must match
Date
Msg-id 3005.202.175.123.162.1158292578.mailsage.folio@sharpasia.com.mo
Whole thread Raw
In response to Re: real and effective user ids must match  (Michael Fuhr <mike@fuhr.org>)
List 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
about2 years ago, maybe it is the hacker do it, because before I found one unknown user and delect it, and then I
restartthe service with error. 

David



pgsql-admin by date:

Previous
From: david.lao@sharpasia.com.mo
Date:
Subject: Re: real and effective user ids must match
Next
From: david.lao@sharpasia.com.mo
Date:
Subject: Re: real and effective user ids must match