All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: Cai Xianchao <caixianchao@cn.fujitsu.com>
Cc: 'LESS' <graphics@cn.fujitsu.com>, Linux Audit <linux-audit@redhat.com>
Subject: Re: [PATCH] Uids should not be allowed to set to negative
Date: Fri, 8 Aug 2008 09:45:58 -0400	[thread overview]
Message-ID: <200808080945.59294.sgrubb@redhat.com> (raw)
In-Reply-To: <489C1B77.5030508@cn.fujitsu.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

  parent reply	other threads:[~2008-08-08 13:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-08 10:09 [PATCH] Uids should not be allowed to set to negative Cai Xianchao
2008-08-08 13:25 ` Eric Paris
2008-08-08 13:53   ` Steve Grubb
2008-08-08 13:45 ` Steve Grubb [this message]
2008-08-12 19:36 ` Steve Grubb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200808080945.59294.sgrubb@redhat.com \
    --to=sgrubb@redhat.com \
    --cc=caixianchao@cn.fujitsu.com \
    --cc=graphics@cn.fujitsu.com \
    --cc=linux-audit@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.