clone #316089 reassign -1 shadow retitle -1 chage fails in plain passwd in use submitter -1 Marc Haber <mh+debian-packages@zugschlus.de> thanks On Tue, Jun 28, 2005 at 03:17:29PM +0200, Marc Haber wrote:> shadow maintainers, would you be willing to make the case of "no > shadow passwords in use, chage will fail" easily detectable from > inside adduser? Or am I better off by jumping through hoops in adduser > to find out whether shadow passwords are in use?Unfortunately, the shadow maintainers haven''t replied to this message which was also sent to shadow@p.d.o. I am thus cloning the bug to shadow. Shadow maintainers, please consider adding a switch to chage which doesn''t make chage fail if no shadow passwords are in use. 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
Marc Haber
2005-Jul-05 14:13 UTC
[Adduser-devel] Bug#316089: chage fails if plain passwd in use
clone #316089 -1 reassign -1 shadow retitle -1 chage fails in plain passwd in use submitter -1 Marc Haber <mh+debian-packages@zugschlus.de> thanks On Tue, Jun 28, 2005 at 03:17:29PM +0200, Marc Haber wrote:> shadow maintainers, would you be willing to make the case of "no > shadow passwords in use, chage will fail" easily detectable from > inside adduser? Or am I better off by jumping through hoops in adduser > to find out whether shadow passwords are in use?Unfortunately, the shadow maintainers haven''t replied to this message which was also sent to shadow@p.d.o. I am thus cloning the bug to shadow. Shadow maintainers, please consider adding a switch to chage which doesn''t make chage fail if no shadow passwords are in use. 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
Debian Bug Tracking System
2005-Jul-05 19:03 UTC
[Adduser-devel] Processed: Bug#316089: chage fails if plain passwd in use
Processing commands for control@bugs.debian.org:> clone #316089 -1Bug#316089: exim4-config - fails to install if system uses no shadow Bug 316089 cloned as bug 317012.> reassign -1 shadowBug#317012: exim4-config - fails to install if system uses no shadow Bug reassigned from package `adduser'' to `shadow''.> retitle -1 chage fails in plain passwd in useBug#317012: exim4-config - fails to install if system uses no shadow Changed Bug title.> submitter -1 Marc Haber <mh+debian-packages@zugschlus.de>Bug#317012: chage fails in plain passwd in use Changed Bug submitter from Bastian Blank <waldi@debian.org> to Marc Haber <mh+debian-packages@zugschlus.de>.> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
Alexander Gattin
2005-Jul-05 22:52 UTC
[Adduser-devel] Bug#316089: [Pkg-shadow-devel] Processed: Bug#316089: chage fails if plain passwd in use
owner 304934 Alexander Gattin <arg@online.com.ua> retitle 304934 [XRGTN] Please document the -O option of useradd thanks Hi! I think 316089 and 317012 is there because of closing 298883 by chosing chage as an instrument to override password expiration... :-/ I propose to use `useradd -O PASS_MAX_DAYS=99999` instead and from my side going to update useradd''s manpage (see bug #304934).> Changed Bug submitter from Bastian Blank <waldi@debian.org> to Marc Haber <mh+debian-packages@zugschlus.de>.-- WBR, xrgtn
Colin Watson
2005-Jul-14 12:26 UTC
[Adduser-devel] Bug#316089: chage fails if plain passwd in use
On Tue, Jul 05, 2005 at 04:13:18PM +0200, Marc Haber wrote:> On Tue, Jun 28, 2005 at 03:17:29PM +0200, Marc Haber wrote: > > shadow maintainers, would you be willing to make the case of "no > > shadow passwords in use, chage will fail" easily detectable from > > inside adduser? Or am I better off by jumping through hoops in adduser > > to find out whether shadow passwords are in use? > > Unfortunately, the shadow maintainers haven''t replied to this message > which was also sent to shadow@p.d.o. I am thus cloning the bug to > shadow. > > Shadow maintainers, please consider adding a switch to chage which > doesn''t make chage fail if no shadow passwords are in use.Since the shadow maintainers at least gave it a distinct exit code, I added a really cheap and nasty hack in Ubuntu to work around this; since the whole situation broke debootstrap, it was blocking a lot of my work, and I had to do something urgently ... &systemcall(''/bin/sh'', ''-c'', ''/usr/bin/chage -M 99999 '' . quotemeta($new_name) . ''; RET=$?; [ $RET -eq 3 ] && exit 0; exit $RET''); I don''t know if this is the approach you want to take; a flag to chage to suppress the error message would certainly be neater, but as has been mentioned it would require a versioned dependency. Cheers, -- Colin Watson [cjwatson@debian.org]