[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] id should not show selinux context when user is specified
From: |
Jim Meyering |
Subject: |
Re: [PATCH] id should not show selinux context when user is specified |
Date: |
Wed, 23 Apr 2008 17:50:42 +0200 |
Jim Meyering <address@hidden> wrote:
> +# Check with specified user, no context string should be present.
> +# But if the current user is nameless, skip this part.
> +test id -nu > /dev/null \
> + && id $(id -nu) | grep context= >/dev/null && fail=1
Ondřej noticed the bug in my modification of his change,
so the change I push will do this instead ;-)
id -nu > /dev/null \
&& id $(id -nu) | grep context= >/dev/null && fail=1
The risks of modifying a submitted change...
At least this time, it was caught before pushed.
Thanks, Ondřej!