[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7320: id and groups may lie

From: Jim Meyering
Subject: bug#7320: id and groups may lie
Date: Fri, 27 Apr 2012 18:30:17 +0200

Marc W. Mengel wrote:
> The other test case is to make a copy of "id" and make it
> setuid to some user (i.e. mysql) and run it; it will show
> itself as having mysql's primary group, even though it doesn't.

Oh!  Yes, that will work.  Thanks.
With that, I'll add a test like this:

    $ sudo src/setuidgid -g 3 root src/id -G

    $ sudo src/setuidgid -g 3 root id -G
    3 0

reply via email to

[Prev in Thread] Current Thread [Next in Thread]