[Adduser-devel] Bug#298883: adduser --system should add users without expire period

Marc Haber Marc Haber <mh+debian-packages@zugschlus.de>, 298883@bugs.debian.org
Fri, 18 Mar 2005 18:10:34 +0100


On Thu, Mar 10, 2005 at 03:10:28PM +0100, Gerhard Schrenk wrote:
> 'adduser --system' adds apparently users with expire and warn period
> from /etc/login.defs
> 
> For example it reads the following setting in /etc/login.defs
> PASS_MAX_DAYS   183
> PASS_MIN_DAYS   0
> PASS_WARN_AGE   183
> 
> Example: After 1/2 year after upgrading to sarge logcheck (which added a
> new system user) suddenly stopped mailing its reports.

Yuck.

Did the account actually have a password?

Can you please verify whether useradd -x 99999 will create an account
without that restriction?

The only possible fix for _adduser_ would be to ignore PASS_MAX_DAYS
for system account creation. Is that what you're suggesting?

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