Article 5KWKY group name is not showing when I do $id but group id exists under /etc/group

group name is not showing when I do $id but group id exists under /etc/group

by
Manohartk
from LinuxQuestions.org on (#5KWKY)
I created a new user zzzz and its primary group ID was 9472 so I went to $sudo vi /etc/group and changed the group ID to 9471(which was the group id of already existing one user avaya) and then I deleted the user and group both .
after that now its not showing any group names.
if you see the below info the group name is showing only ID and not name .
but all these names with group ID exists in /etc/group and /etc/passwd
[avaya@LXV1499AVAYA01 ~]$ ls -l
total 392144
-rw------- 1 avaya 9471 2162624 Jul 3 2020 \cdr
-rw------- 1 avaya 9471 2162624 Jul 4 2020 \cdr
-rw------- 1 avaya 9471 2162624 Jul 5 2020 \cdr
-rw------- 1 avaya 9471 2162624 Jul 6 2020 \cdr
-rw------- 1 avaya 9471 2162624 Jul 7 2020 \cdr
-rw------- 1 avaya 9471 2162624 Jul 8 2020 \cdr
-rw------- 1 avaya 9471 2162624 Jul 9 2020 \cdr
=============================================================================
[avaya@LXV1499AVAYA01 /]$ ls -l
total 149
-rw-r--r-- 1 root 0 1522 Jun 2 2018 !
drwxr-xr-x 4 root 0 4096 Jul 13 2018 avaya
dr-xr-xr-x. 2 root 0 4096 Feb 5 2018 bin
dr-xr-xr-x. 5 root 0 4096 Feb 28 2018 boot
drwxr-xr-x 3 root 0 4096 Dec 11 2018 cdr
drwxr-xr-x 18 root 0 3860 Jul 4 04:11 dev
drwxr-xr-x. 89 root 0 12288 Jul 5 00:00 etc
drwxr-xr-x. 15 root 0 4096 Jul 4 23:14 home
dr-xr-xr-x. 12 root 0 4096 Jul 3 2017 lib
dr-xr-xr-x. 11 root 0 12288 Feb 5 2018 lib64
===================================================================================latest?d=yIl2AUoC8zA latest?i=EZCyHrumzpQ:pwSUbsTFwOw:F7zBnMy latest?i=EZCyHrumzpQ:pwSUbsTFwOw:V_sGLiP latest?d=qj6IDK7rITs latest?i=EZCyHrumzpQ:pwSUbsTFwOw:gIN9vFwEZCyHrumzpQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments