[14551] in Athena Bugs
sun4 8.0: {x,}login
daemon@ATHENA.MIT.EDU (danw@MIT.EDU)
Wed Aug 14 14:51:19 1996
From: danw@MIT.EDU
To: bugs@MIT.EDU
Date: Wed, 14 Aug 1996 14:51:12 EDT
System name: technomage
Type and version: SPARC/Classic 8.0I (1 update(s) to same version)
Display type: cgthree
What were you trying to do?
log in
What's wrong:
{x,}login gets NGROUPS-3 groups from hesiod and puts you
into them in /etc/group. But if you're already listed in
/etc/group in some groups other than those (either because
you have groups in group.local or because your hesiod group
list changed and the machine hasn't cleaned up /etc/group
yet), then you end up in more than NGROUPS-3 groups, and
then you don't get a PAG, and life sucks.
What should have happened:
It should have read /etc/group, determined that I was
already in X groups, and only added NGROUPS-3-X more,
putting me in NGROUPS-3 groups total so that the
universe would be happy.
Please describe any relevant documentation references:
I know that this is a known bug, but it just bit me again*
and I'm annoyed so I figured I'd remind people of it :)
* (I was logged into mage on console and then telnetted in
from another machine, and when I logged out, I lost tokens
in both logins instead of just the telnet one.)