[Adduser-devel] (forw) [Pkg-shadow-commits] r502 - branches/experimental/debian/patches

Christian Perrier bubulle at debian.org
Thu Sep 1 06:28:03 UTC 2005


Marc, the following change will affect adduser.

In shadow 4.0.11.1 (uploaded in experimental only), we added a 3 exit
code to useradd when the shadow file wasn't found.

In order to make this more consistent with the use of exit codes in
all shadow utilities, this has been changed to 15.

As this has been adopted upstream, this is very unlikely to change
now, so you can probably safely prepare adduser to support this.

----- Forwarded message from Nicolas FRANCOIS <nekral-guest at costa.debian.org> -----

To: pkg-shadow-commits at lists.alioth.debian.org
From: Nicolas FRANCOIS <nekral-guest at costa.debian.org>
Date: Wed, 31 Aug 2005 18:46:00 +0000
Subject: [Pkg-shadow-commits] r502 - branches/experimental/debian/patches
Reply-To: pkg-shadow-devel at lists.alioth.debian.org

Author: nekral-guest
Date: 2005-08-31 18:46:00 +0000 (Wed, 31 Aug 2005)
New Revision: 502

Modified:
   branches/experimental/debian/patches/443_chage_exit_values
Log:
The exit value when the shadow file is not found was changed.


Modified: branches/experimental/debian/patches/443_chage_exit_values
===================================================================
--- branches/experimental/debian/patches/443_chage_exit_values	2005-08-31 10:49:57 UTC (rev 501)
+++ branches/experimental/debian/patches/443_chage_exit_values	2005-08-31 18:46:00 UTC (rev 502)
@@ -33,7 +33,7 @@
  #define E_NOPERM        1	/* permission denied */
  #define E_USAGE         2	/* invalid command syntax */
  #define E_BAD_ARG       3	/* invalid argument to option */
-+#define E_SHADOW_NOTFOUND 14	/* no shadow password file */
++#define E_SHADOW_NOTFOUND 15	/* no shadow password file */
 Index: shadow-4.0.12/man/chage.1.xml
 ===================================================================
 --- shadow-4.0.12.orig/man/chage.1.xml	2005-08-10 10:58:05.000000000 +0200
@@ -60,7 +60,7 @@
 +	  <listitem>invalid command syntax</listitem>
 +	</varlistentry>
 +	<varlistentry>
-+	  <term><replaceable>14</replaceable></term>
++	  <term><replaceable>15</replaceable></term>
 +	  <listitem>can't find the shadow password file</listitem>
 +	</varlistentry>
 +      </variablelist>


_______________________________________________
Pkg-shadow-commits mailing list
Pkg-shadow-commits at lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-shadow-commits

----- End forwarded message -----

-- 





More information about the Adduser-devel mailing list