Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 2003 13:47:36 +0200
From:      Jilles Tjoelker <jilles@stack.nl>
To:        freebsd-current@freebsd.org
Subject:   Long lines in /etc/group do not work (bin/52433)
Message-ID:  <20030528114736.GA95558@stack.nl>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030528114736.GA95558>