[Pkg-shadow-devel] (forw) Exchanges with Marc Haber 1/3
Christian Perrier
bubulle at debian.org
Fri Sep 2 05:26:33 UTC 2005
I had mail exchanges with Mark about changes to useradd exit codes.
Forwarding his answers it for the record
----- Forwarded message from Marc Haber <mh+0523mail at zugschlus.de> -----
Date: Thu, 1 Sep 2005 10:08:36 +0200
From: Marc Haber <mh+0523mail at zugschlus.de>
To: Christian Perrier <bubulle at debian.org>
Subject: Re: [Adduser-devel] (forw) [Pkg-shadow-commits] r502 - branches/experimental/debian/patches
On Thu, Sep 01, 2005 at 08:28:03AM +0200, Christian Perrier wrote:
> 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.
*GRRRR*
This is why I asked beforehand for the exit code, since the check for
exit code 3 is already in adduser. Am I better off to check for both 3
and 15?
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
----- End forwarded message -----
--
More information about the Pkg-shadow-devel
mailing list