[PATCH] Don't read group names from /etc/group

Nico Kadel-Garcia nkadel at gmail.com
Thu Nov 6 12:55:17 EST 2014


On Wed, Nov 5, 2014 at 8:25 AM, Corinna Vinschen <vinschen at redhat.com> wrote:
> On Nov  5 11:03, Damien Miller wrote:
>> done - thanks again
>
> Thank you.  Unfortunately there was still one problem left in
> ssh-host-config, which at one point reads from /etc/group when printing
> the user's group membership.  Patch below.
>
>
> Thanks,
> Corinna

'getent group' can also be useful. But yes, parsing /etc/group is
useless in an NIS or LDAP based environment.


More information about the openssh-unix-dev mailing list