Hi,

I've added my user to multiple groups in /etc/group, but running "id" only
shows the primary group.

$ id
uid=1003(alex) gid=1003(alex) groups=1003(alex)

This user belongs to a number of other groups.
$ grep ^alex /etc/group
alex:x:1003:group1,group2

I remember many years ago having to modify /etc/nsswitch.conf to allow the
user to join multiple groups, but I don't recall what those changes are, or
if that's even the proper way anymore. Ideas?

Of course I've logged out and logged in again
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to