pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: david.lao@sharpasia.com.mo
To: Michael Fuhr <mike@fuhr.org>
To: david.lao@sharpasia.com.mo
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: real and effective user ids must match
Date: Fri, 15 Sep 2006 12:49:35 +0800 (HKT)
Message-ID: <3865.202.175.123.162.1158295775.mailsage.folio@sharpasia.com.mo> (raw)
In-Reply-To: <20060915043123.GA1845@winnie.fuhr.org>
References: <27572.1158238113@sss.pgh.pa.us>
	<50291.202.86.139.20.1158246823.mailsage.folio@sharpasia.com.mo>
	<20060915004924.GA32408@winnie.fuhr.org>
	<1143.202.175.123.162.1158283228.mailsage.folio@sharpasia.com.mo>
	<20060915014146.GA32900@winnie.fuhr.org>
	<1479.202.175.123.162.1158284982.mailsage.folio@sharpasia.com.mo>
	<20060915025331.GA1109@winnie.fuhr.org>
	<2411.202.175.123.162.1158289986.mailsage.folio@sharpasia.com.mo>
	<20060915033750.GA1374@winnie.fuhr.org>
	<3005.202.175.123.162.1158292578.mailsage.folio@sharpasia.com.mo>
	<20060915043123.GA1845@winnie.fuhr.org>


>Do you have sudo?  If so then what does "sudo -u postgres id" show?
>If uid and euid are the same (both postgres) then you might be able
>to start the postmaster with sudo instead of su.

"sudo -u postgres id" show
uid=0(root) gid=26 euid=26(postgres) groups=26


>What do you mean by "the hacker"?  Do you know or suspect that
>you've been hacked?  If so then I'd recommend that you reinstall
>your system from trustworthy media, make sure you have current
>security patches, and close any configuration holes that might have
>let an intruder in.

Yes, I have been hacked, because I found a new unknown a/c in my system. and in log file get this message:
Sep  3 22:55:00 TWeb su(pam_unix)[24299]: session opened for user root by (uid=0)
Sep  3 22:55:17 TWeb su(pam_unix)[24299]: session closed for user root

David




view thread (19+ messages)  latest in thread

Message-ID: <3865.202.175.123.162.1158295775.mailsage.folio@sharpasia.com.mo>
Permalink:  ../3865.202.175.123.162.1158295775.mailsage.folio@sharpasia.com.mo/
Also on:    postgresql.org/message-id/3865.202.175.123.162.1158295775.mailsage.folio@sharpasia.com.mo

 · 

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: david.lao@sharpasia.com.mo, mike@fuhr.org, tgl@sss.pgh.pa.us
  Subject: Re: real and effective user ids must match
  In-Reply-To: <3865.202.175.123.162.1158295775.mailsage.folio@sharpasia.com.mo>
  References: <27572.1158238113@sss.pgh.pa.us> <50291.202.86.139.20.1158246823.mailsage.folio@sharpasia.com.mo> <20060915004924.GA32408@winnie.fuhr.org> <1143.202.175.123.162.1158283228.mailsage.folio@sharpasia.com.mo> <20060915014146.GA32900@winnie.fuhr.org> <1479.202.175.123.162.1158284982.mailsage.folio@sharpasia.com.mo> <20060915025331.GA1109@winnie.fuhr.org> <2411.202.175.123.162.1158289986.mailsage.folio@sharpasia.com.mo> <20060915033750.GA1374@winnie.fuhr.org> <3005.202.175.123.162.1158292578.mailsage.folio@sharpasia.com.mo> <20060915043123.GA1845@winnie.fuhr.org> <3865.202.175.123.162.1158295775.mailsage.folio@sharpasia.com.mo>

* 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