GNU bug report logs - #52656
(id) utility bug found

Previous Next

Package: coreutils;

Reported by: Morteza Ghorbani <morteza.ghorbani <at> live.com>

Date: Sun, 19 Dec 2021 14:28:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Morteza Ghorbani <morteza.ghorbani <at> live.com>
To: "bug-coreutils <at> gnu.org" <bug-coreutils <at> gnu.org>
Subject: (id) utility bug found
Date: Sun, 19 Dec 2021 11:01:37 +0000
[Message part 1 (text/plain, inline)]
Hello
I am Morteza Ghorbani
While Working with id utility, I found strange behavior.
Suppose that my username is ‘user1’ , so if I remove user1 from a particular group (e.g. netdev)  by the following instruction :
gpasswd –delete user1 netdev

then if I enter the ‘id’ command, I will be noted that nothing has been changed and still see the group which I removed the use1 from.
On the other hand, if I enter the command ‘ id user1 ‘, by this way I can see the changes !

In a nutshell,  ‘id’ --> does not show the changes while ‘id user1’ shows the changes and its behavior is correct.
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 152 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.