Linux CLI - Users and Groups
Why does the
groups command show different groups than id -Gn for the same user?groups command show different groups than id -Gn for the same user?groups reads groups from local /etc/group file.id -Gn shows all groups including those from network sources like LDAP.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions