Bug#304934: [Pkg-shadow-devel] Bug#304934: there should be a way to override PASS_MAX_DAYS in useradd

Marc Haber Marc Haber <mh+debian-packages@zugschlus.de>, 304934@bugs.debian.org
Sun, 8 May 2005 17:48:15 +0200


Hi,

On Sat, May 07, 2005 at 09:58:19PM +0300, Alexander Gattin wrote:
> On Mon, May 02, 2005 at 07:20:29AM +0200, Marc Haber wrote:
> > Reopening. Please document this option. I cannot use a secret,
> > undocumented option.
> 
> Actually it is documented, although in TFS.

TFS is not in the binary package, hence the binary package is missing
the docs. That's a policy violation *ducks*

> > > The problem with -O option is a Tomasz's desire to
> > > rename it to -K for sake of unfication with Solaris:
> > 
> > So we can/need to wait until it is renamed, then document it,
> 
> This depends on you.

Well, I decided on using chage in adduser, so the connection between
this bug and the adduser issue isn't there any more. However, I find
it quite ugly to leave useful options undocumented. But that's of
couse your decision.

> Currently I see the next in adduser:
> > Depends: ... passwd (>=961025)
> 
> Dependency on such an antique version of passwd looks
> strange for me

There surely was a reason for doing so, but since this dependency is
satisfied since bo (which had exactly this version of passwd), I think
that it can probably be removed.

> (do you really test adduser against it?),

No.

> but if you want to choose as old a passwd as
> possible for the dependency, then probably you should
> use chage instead of -O/-K, because chage is in passwd
> since ages (a working version since 970616-1, AFAIU?).

chage is now being used.

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