]> git.ipfire.org Git - thirdparty/util-linux.git/commit
newgrp: use libc function to read gshadow if it is available
authorSami Kerola <kerolasa@iki.fi>
Sun, 14 Sep 2014 16:29:54 +0000 (17:29 +0100)
committerSami Kerola <kerolasa@iki.fi>
Fri, 19 Sep 2014 18:31:02 +0000 (19:31 +0100)
commitc829aebc397f75f24762ed046fc8e3402762b60f
treea5b0280dc53c0303e5b39692abc54ef5b1383ea6
parent9ed11cc260a28a64de0c1fa5d94d7cd6273781a5
newgrp: use libc function to read gshadow if it is available

The glib versionf of getsgnam() is using /etc/nsswitch.conf, allowing the
group passwords to come from external database.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
configure.ac
login-utils/newgrp.c