[PATCH] Uids should not be allowed to set to negative

Steve Grubb sgrubb at redhat.com
Fri Aug 8 13:45:58 UTC 2008


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




More information about the Linux-audit mailing list