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

From: Jilles Tjoelker <jilles_at_stack.nl>
Date: Wed, 28 May 2003 13:47:36 +0200
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
Received on Wed May 28 2003 - 02:47:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:09 UTC