1. RedHat 5.0, NIS and multiple group memberships
I have problems with multiple group memberships if those memberships are
read from NIS. NIS is up and working ("ypcat group" displays the correct
output), and I can change the group using "newgrp" to each of the groups
I am a member of. However, after login I am always just in one group,
as "groups" shows, and this is the default group as in the NIS passwd
map. With "newgrp" I can add exactly one additional group.
When there are multiple group memberships in the file /etc/groups,
they all appear for "groups". This is what I'd expect as well if group
memberships are read from NIS (that's how it works on other platforms
(e.g., DEC OSF4.1) or even for older versions of Linux (e.g., Redhat
I am not sure if this is a bug or if it is a new feature and I have to
configure something to allow multiple groups from NIS.
My nsswitch.conf contains "files nis" for both passwd and group:
passwd: files nis
shadow: files nis
group: files nis
RedHat 5.0 with all updates for Errata
My /etc/passwd and /etc/group do NOT contain a "+" or anything like this
in the last line.
Any help is appreciated.
Dr. Henrik Seidel, http://www.mpimg-berlin-dahlem.mpg.de/~seidel/
Max Planck Institute for Molecular Genetics
14195 Berlin, GERMANY, Ihnestrasse 73
tel: ++49-30-8413-1613 fax: ++49-30-8413-1384
see my home page for my public PGP key
2. Mapping drives with file as input
3. NIS limiting no. of group memberships
4. Info on Inquiry and Mode Sense commands
5. NIS group membership isn't taken into account
6. I Am Very Sorry!!!
7. AIX group membership limit
8. NT / Linux Large Scale Integration
9. The "groups" command does not show all groups
10. Group membership for a group
11. Groups gone on NIS+, not on NIS
12. ipflog not showing groups?
13. Group membership problem