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 6DBAE9FB2E1 for ; Fri, 15 Sep 2006 11:30:04 -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 77201-04 for ; Fri, 15 Sep 2006 11:29:52 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id B41459FB202 for ; Fri, 15 Sep 2006 11:29:51 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.8/8.13.8) with ESMTP id k8FETcdQ066234 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 15 Sep 2006 08:29:40 -0600 (MDT) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.8/8.13.8) with ESMTP id k8FETbcd005230; Fri, 15 Sep 2006 08:29:37 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.8/8.13.8/Submit) id k8FETbbf005229; Fri, 15 Sep 2006 08:29:37 -0600 (MDT) (envelope-from mfuhr) Date: Fri, 15 Sep 2006 08:29:37 -0600 From: Michael Fuhr To: Jeff Frost Cc: david.lao@sharpasia.com.mo, Tom Lane , pgsql-admin@postgresql.org Subject: Re: real and effective user ids must match Message-ID: <20060915142937.GA5150@winnie.fuhr.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.155 tagged_above=0 required=5 tests=AWL, SPF_PASS X-Spam-Level: X-Archive-Number: 200609/155 X-Sequence-Number: 23069 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? -- Michael Fuhr