]> git.ipfire.org Git - thirdparty/util-linux.git/commit
chsh-chfn: Move pam auth to its own function, factoring out common code
authorCody Maloney <cmaloney@theoreticalchaos.com>
Thu, 7 Feb 2013 06:22:19 +0000 (23:22 -0700)
committerKarel Zak <kzak@redhat.com>
Wed, 13 Feb 2013 08:28:33 +0000 (09:28 +0100)
commitd91ad6ab3c925ad88c9df80dd78818b5aa2d14df
treed6b233aec5d9ab2698115a3e3db4a06c3f257b81
parent7e4714f22bb6e3140840bf5b0561e46347218042
chsh-chfn: Move pam auth to its own function, factoring out common code

This makes it easier to add support for libuser, which needs the same PAM
authentication. Also removes duplicate code between chsh and chfn.

Signed-off-by: Cody Maloney <cmaloney@theoreticalchaos.com>
login-utils/Makemodule.am
login-utils/auth.c [new file with mode: 0644]
login-utils/auth.h [new file with mode: 0644]
login-utils/chfn.c
login-utils/chsh.c