[1042] in NetBSD-Development
Some problems fixed
daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Oct 5 11:49:27 1995
Date: Thu, 5 Oct 1995 11:48:43 -0400
From: Greg Hudson <ghudson@MIT.EDU>
To: pc-dialup@MIT.EDU, netbsd-dev@MIT.EDU
I modified libAL not to die if there's an /etc/groups line longer than
1024 characters. This wasn't a problem on other dialups because the
other dialups don't add people to the primary group (mit).
I also modified cleanup to lock the master.passwd file before starting
the cleanup. This should hopefully fix the race conditions we've been
seeing.
Remaining problems:
* cleanup is not designed to clean out members of a groups
entry, just to remove groups which don't have any members in
the passwd file. Therefore, the mit group won't get cleaned
out, and as a consequence, people won't get added to it when
they get logged in. No big deal.
* There are some circumstances where libAL could put you in
too many groups (specifically, if you're in local groups
towards the end of the group file). This isn't going to
create an operational problem for the dialups, but I would
eventually like to make it more correct.