[Pkg-shadow-devel] Bug#317012: Detect chage failure when no shadow passwords are used

Marc Haber Marc Haber <mh+debian-packages@zugschlus.de>, 317012@bugs.debian.org
Wed, 6 Jul 2005 07:32:40 +0200


On Tue, Jul 05, 2005 at 10:38:33PM +0200, Christian Perrier wrote:
> So, chage fails with an errorlevel set to 1 when there are no active
> shadow passwords. Isn't that enough for adduser to detect the failure
> and behave appropriately?
> 
> Or do you mean you'd prefer having a dedicated error level?

I'd prefer having a dedicated error level since just checking for
non-zero will probably cause "real" errors to be ignored.

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