bug-coreutils
[Top][All Lists]
Advanced

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

bug#72012: [PATCH] id: Warn if user in more groups than `id` can reliabl


From: Pádraig Brady
Subject: bug#72012: [PATCH] id: Warn if user in more groups than `id` can reliably print
Date: Wed, 10 Jul 2024 09:17:18 +0100
User-agent: Mozilla Thunderbird Beta

tag 72012 notabug
close 72012
stop

On 10/07/2024 00:31, Paul Eggert wrote:
On 7/10/24 00:35, Pádraig Brady wrote:
OK so id(1) will always show all groups it knows about.
Then the warning message might be along the lines of:

    "warning: User '%s' is a member of more groups than the current
system limit"

I also am not seeing the point of the proposed diagnostic. I daresay
most users would be more annoyed than usefully warned by the diagnostic;
I know I would.

The rare user concerned about being in "too many" groups can run
'getconf NGROUPS_MAX' and 'id -G | wc -w' and compare.

Right.
Given that id can display all the groups,
it's not its responsibility to display potential limits from elsewhere.

cheers,
Pádraig





reply via email to

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