summaryrefslogtreecommitdiffstats
path: root/abs/core/shadow/shadow-4.1.4.2-groupmod-pam-check.patch
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-30 01:52:12 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-30 01:52:12 (GMT)
commit21f3deaaa33c04b3bc0d7fc0c682ee105a251dfb (patch)
tree0fea1b5e1366a7c80ebdca0c1aab1ad139dc4b24 /abs/core/shadow/shadow-4.1.4.2-groupmod-pam-check.patch
parent88f6c8c4bef7c20f9d44ca1bbc2346a821355754 (diff)
downloadlinhes_pkgbuild-21f3deaaa33c04b3bc0d7fc0c682ee105a251dfb.zip
linhes_pkgbuild-21f3deaaa33c04b3bc0d7fc0c682ee105a251dfb.tar.gz
linhes_pkgbuild-21f3deaaa33c04b3bc0d7fc0c682ee105a251dfb.tar.bz2
shadow: upgrade
Diffstat (limited to 'abs/core/shadow/shadow-4.1.4.2-groupmod-pam-check.patch')
-rw-r--r--abs/core/shadow/shadow-4.1.4.2-groupmod-pam-check.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/abs/core/shadow/shadow-4.1.4.2-groupmod-pam-check.patch b/abs/core/shadow/shadow-4.1.4.2-groupmod-pam-check.patch
new file mode 100644
index 0000000..f25c4e1
--- /dev/null
+++ b/abs/core/shadow/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);