public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-apps/shadow/files: shadow-4.1.4.2-groupmod-pam-check.patch
@ 2010-01-15  2:58 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2010-01-15  2:58 UTC (permalink / raw
  To: gentoo-commits

vapier      10/01/15 02:58:28

  Added:                shadow-4.1.4.2-groupmod-pam-check.patch
  Log:
  Add fix from upstream for groupmod pam check #300790 by Esther Dalhuisen and drop old adduser symlink #301027 by Vicente Olivert.
  (Portage version: 2.2_rc61/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sys-apps/shadow/files/shadow-4.1.4.2-groupmod-pam-check.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/shadow/files/shadow-4.1.4.2-groupmod-pam-check.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/shadow/files/shadow-4.1.4.2-groupmod-pam-check.patch?rev=1.1&content-type=text/plain

Index: shadow-4.1.4.2-groupmod-pam-check.patch
===================================================================
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);






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-15  2:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-15  2:58 [gentoo-commits] gentoo-x86 commit in sys-apps/shadow/files: shadow-4.1.4.2-groupmod-pam-check.patch Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox