diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-01-15 02:58:28 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-01-15 02:58:28 +0000 |
commit | 965af1b61b372a2c5470f00fda8e6c2bc2f245d9 (patch) | |
tree | 183c0162bc1c1ad30a30c51b64097f8c8ca5b295 /sys-apps/shadow/files/shadow-4.1.4.2-groupmod-pam-check.patch | |
parent | document the patch properly (diff) | |
download | historical-965af1b61b372a2c5470f00fda8e6c2bc2f245d9.tar.gz historical-965af1b61b372a2c5470f00fda8e6c2bc2f245d9.tar.bz2 historical-965af1b61b372a2c5470f00fda8e6c2bc2f245d9.zip |
Add fix from upstream for groupmod pam check #300790 by Esther Dalhuisen and drop old adduser symlink #301027 by Vicente Olivert.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/shadow/files/shadow-4.1.4.2-groupmod-pam-check.patch')
-rw-r--r-- | sys-apps/shadow/files/shadow-4.1.4.2-groupmod-pam-check.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-apps/shadow/files/shadow-4.1.4.2-groupmod-pam-check.patch b/sys-apps/shadow/files/shadow-4.1.4.2-groupmod-pam-check.patch new file mode 100644 index 000000000000..f25c4e10ff84 --- /dev/null +++ b/sys-apps/shadow/files/shadow-4.1.4.2-groupmod-pam-check.patch @@ -0,0 +1,21 @@ +http://bugs.gentoo.org/300790 +http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/2009-November/007850.html + +2009-11-05 Nicolas François <nicolas.francois@centraliens.net> + + * NEWS, src/groupmod.c: Fixed groupmod when configured with + --enable-account-tools-setuid. + +diff --git a/src/groupmod.c b/src/groupmod.c +index 4205df2..da6d77f 100644 +--- a/src/groupmod.c ++++ b/src/groupmod.c +@@ -724,7 +724,7 @@ int main (int argc, char **argv) + { + struct passwd *pampw; + pampw = getpwuid (getuid ()); /* local, no need for xgetpwuid */ +- if (NULL == pamh) { ++ if (NULL == pampw) { + fprintf (stderr, + _("%s: Cannot determine your user name.\n"), + Prog); |