]> granicus.if.org Git - shadow/commit
* configure.in: Added option --enable-account-tools-setuid to
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 6 Sep 2008 21:35:37 +0000 (21:35 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 6 Sep 2008 21:35:37 +0000 (21:35 +0000)
commitf8aef607ae7c72477c41815925f3cf5b256486f0
tree5e228dedda6d0b6dff610a593c31b631313895e5
parentbbae92e76f45442f5b4326e3b3f478faf01530b5
* configure.in: Added option --enable-account-tools-setuid to
enable/disable the usage of PAM to authenticate the callers of
account management tools: chage, chgpasswd, chpasswd, groupadd,
groupdel, groupmod, useradd, userdel, usermod.
* src/Makefile.am: Do not link the above tools with libpam if
account-tools-setuid is disabled.
* src/userdel.c, src/newusers.c, src/chpasswd.c, src/usermod.c,
src/groupdel.c, src/chgpasswd.c, src/useradd.c, src/groupmod.c,
src/groupadd.c, src/chage.c: Implement ACCT_TOOLS_SETUID
(--enable-account-tools-setuid).
* etc/pam.d/Makefile.am: Install the pam service file for the
above tools only when needed.
* src/useradd.c, src/userdel.c, src/usermod.c: It is no more
needed to initialize retval to PAM_SUCCESS.
14 files changed:
ChangeLog
configure.in
etc/pam.d/Makefile.am
src/Makefile.am
src/chage.c
src/chgpasswd.c
src/chpasswd.c
src/groupadd.c
src/groupdel.c
src/groupmod.c
src/newusers.c
src/useradd.c
src/userdel.c
src/usermod.c