Long lines in /etc/group do not work (bin/52433)

Jilles Tjoelker jilles at stack.nl
Wed May 28 04:47:43 PDT 2003


We are having trouble with long lines in /etc/group. The only workaround
(apart from shortening the member list) is logging in via ssh.

getgrouplist(3) fails if the line is longer than 1024 and getgrnam(3)
has not been called on that group.

login(1) and su(1) fail to add the group to the group access list unless
the line length is less than about 600.

sshd always sets the group list correctly.

This seems to have started with the new NSS stuff.

Thanks in advance,

Jilles


More information about the freebsd-current mailing list