some patches

Peter Vrabec <[email protected]> Fri, 3 Nov 2006 16:54:17 +0100
Newsgroups gmane.linux.pld.shadow.general
Message-ID <[email protected]>
--MP_ohcfzfparJqhBOrp1TP_J8J
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

could you consider applying these patches.

shadow-4.0.17-auditLogging.patch is  fixing 
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211659

--MP_ohcfzfparJqhBOrp1TP_J8J
Content-Type: text/x-patch; name=shadow-4.0.17-auditLogging.patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=shadow-4.0.17-auditLogging.patch

diff -Nurp shadow-4.0.17.orig/src/useradd.c shadow-4.0.17/src/useradd.c
--- shadow-4.0.17.orig/src/useradd.c	2006-10-02 18:25:30.000000000 +0100
+++ shadow-4.0.17/src/useradd.c	2006-10-02 18:25:43.000000000 +0100
@@ -1611,6 +1611,10 @@ static void create_home (void)
 				 _
 				 ("%s: cannot create directory %s\n"),
 				 Prog, user_home);
+#ifdef WITH_AUDIT
+			audit_logger (AUDIT_USER_CHAUTHTOK, Prog,
+				      "adding home directory", user_name, user_id, 0);
+#endif
 			fail_exit (E_HOMEDIR);
 		}
 		chown (user_home, user_id, user_gid);


--MP_ohcfzfparJqhBOrp1TP_J8J
Content-Type: text/x-patch; name=shadow-4.0.18.1-exitCode.patch
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename=shadow-4.0.18.1-exitCode.patch

--- shadow-4.0.18.1/man/groupdel.8.xml.exitCode	2006-11-03 16:49:48.0000000=
00 +0100
+++ shadow-4.0.18.1/man/groupdel.8.xml	2006-11-03 16:50:39.000000000 +0100
@@ -75,6 +75,12 @@
 	  </listitem>
 	</varlistentry>
 	<varlistentry>
+	  <term><replaceable>6</replaceable></term>
+	  <listitem>
+	    <para>specified group doesn=E2=80=99t exist</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
 	  <term><replaceable>8</replaceable></term>
 	  <listitem>
 	    <para>can't remove user's primary group</para>

--MP_ohcfzfparJqhBOrp1TP_J8J
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline