From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: [PATCH] Uids should not be allowed to set to negative Date: Fri, 8 Aug 2008 09:45:58 -0400 Message-ID: <200808080945.59294.sgrubb@redhat.com> References: <489C1B77.5030508@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <489C1B77.5030508@cn.fujitsu.com> 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: Cai Xianchao Cc: 'LESS' , Linux Audit List-Id: linux-audit@redhat.com On Friday 08 August 2008 06:09:59 Cai Xianchao wrote: > When I tried to set uid to negative, no error message was outputed and > the return value was 0. In the rule list, the value of uid was also > negative. Negative uid does not exist and the negative user can't be > added. So, I think uids can't be set to negative. There really is uid -1 and uid -2. We run into this problem with faillog all the time. I think they are nobody and nfsnobody respectively. They used by NFS. -Steve