X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 58E2F9FA195 for ; Fri, 15 Sep 2006 22:25:21 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 05565-03 for ; Fri, 15 Sep 2006 22:25:17 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sharpasia.com.mo (z83l17.static.ctm.net [202.175.83.17]) by postgresql.org (Postfix) with ESMTP id 783A19FA2D4 for ; Fri, 15 Sep 2006 22:25:16 -0300 (ADT) Received: from mailnull by sharpasia.com.mo with FOLIO-Scan (FOLIO Messaging Router) id 1GOOvf-00082m-4c; Sat, 16 Sep 2006 09:25:11 +0800 Message-ID: <3511.202.175.123.162.1158369909.mailsage.folio@sharpasia.com.mo> In-Reply-To: References: <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> <20060915142937.GA5150@winnie.fuhr.org> Date: Sat, 16 Sep 2006 09:25:09 +0800 (HKT) Subject: Re: real and effective user ids must match From: david.lao@sharpasia.com.mo To: Jeff Frost , Michael Fuhr Cc: david.lao@sharpasia.com.mo, Tom Lane , pgsql-admin@postgresql.org X-Mailer: MailSage FolioMail X-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-FolioEngine-Result: Spam X-FolioEngine-Confidence: 0.4856 X-FolioEngine-Probability: 1.0000 X-FolioEngine-Signature: 450b5276309195196536231 X-FolioEngine-User: mailnull Received: from sharpasia.com.mo (localhost.sharpasia.com.mo [127.0.0.1]) by mailrelay.com.mo (FOLIO Messaging Relay) with ESMTP id A26BB1E38D9; Sat, 16 Sep 2006 09:25:08 +0800 (HKT) Received: from 202.175.123.162 by sharpasia.com.mo with HTTP; Sat, 16 Sep 2006 09:25:09 +0800 (HKT) X-Folio-Scanned: by FolioScan Scanner (sharpasia.com.mo:29v9PVb.HaBaY) X-Folio-Delivery: 1158369910 (10cc6c014fa2a4dc7fb7b2b7bf48103c) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.051 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, MSGID_FROM_MTA_HEADER, NO_REAL_NAME, UNPARSEABLE_RELAY X-Spam-Level: ** X-Archive-Number: 200609/168 X-Sequence-Number: 23082 is there any way to correct this problem? please help. On Fri, 15 Sep 2006, Michael Fuhr wrote: > On Thu, Sep 14, 2006 at 10:24:29PM -0700, Jeff Frost wrote: >> On Thu, 14 Sep 2006, Michael Fuhr wrote: >>> Can anybody else with a Linux box test the above command? >> >> On my FC4 machine running 2.6.16-1.2111_FC4: >> >> uid=26(postgres) gid=26(postgres) groups=26(postgres) >> context=user_u:system_r:unconfined_t > > That's what I'd expect. David's box appears to be behaving oddly, > which could be signs of tampering if he has indeed been hacked. If > that's happened then commands like "ls" and "ps" can't be trusted. > > Can anybody think of a way for David to be seeing the behavior he's > seeing that doesn't involve a tampered-with system? It's probably worthwhile to get a copy of chkrootkit and/or rkhunter and run them to see if there is a problem. Might also be worthwhile to run the ps and ls from the install CD to see if there are any suprising results. -- Jeff Frost, Owner Frost Consulting, LLC http://www.frostconsultingllc.com/ Phone: 650-780-7908 FAX: 650-649-1954