From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: (no subject) Date: Mon, 23 Apr 2007 09:46:07 -0400 Message-ID: <200704230946.07382.sgrubb@redhat.com> References: <200704201932.21306.sgrubb@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: paul moore Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Friday 20 April 2007 20:24, paul moore wrote: > A) sometimes as root I echo to /proc/self/loginuid and it is ignored. Why? Show me an example. > There is no error message Not sure if '>' outputs error messages. > B) always if I echo to /proc... as non root it is ignored (as it should be) > but no message is generated; shouldn't it say EPERM? Not sure the '>' outputs errors. You could strace it and see that the errno was returned and the shell did nothing with it. > C) I put pam_loginuid in my gdm pam config but my xterm windows still have > -1 in loginuid (I have rebooted) How are you starting your xterm windows? If I use gnome terminal all is well. Even if I start an xterm window from it everything is still OK. -Steve