Bug#316271: [Pkg-nagios-devel] Bug#316271: nagios install fails "chage: can't open shadow password fileadduser"

Daniel prosolutions@gmx.net, 316271@bugs.debian.org
Wed, 29 Jun 2005 16:21:55 -0500


So wrote sean finney on Wednesday, 29 June 2005:
> Date: Wed, 29 Jun 2005 17:15:54 -0400
> From: sean finney <seanius@debian.org>
> To: prosolutions@gmx.net
> Subject: Re: [Pkg-nagios-devel] Bug#316271: nagios install fails "chage: can't open shadow password fileadduser"
> User-Agent: Mutt/1.5.5.1+cvs20040105i
> Cc: 316271@bugs.debian.org
> 
> hi,
> 
> On Wed, Jun 29, 2005 at 04:00:04PM -0500, prosolutions@gmx.net wrote:
> > Well that was the problem: I installed Debian fresh on this system using
> > the Sarge RC installer back in December I think.  When it configured
> > passwd it never even asked me if I wanted shadow passwords and I forgot
> > about it.  So shadow passwords were not being used on the system.
> > 
> > I just ran 'dpkg-reconfigure -plow passwd' and enabled shadow passwords.  Now nagios installs fine.
> 
> okay, good to know.  
> 
> so in your opinion, should this bug be closed or should i reorganize
> this bug as "nagios does not work on systems without shadow passwords"?
> 
> 

in my opinion you should reorganize it because there definitely was a problem on the system
without shadow passwords and because i think that the debian installer -
at least some versions of it - were not asking if they should be enabled
when setting up passwd.  so it is possible that a good number of systems
do not have shadow passwords enabled and could run into this same
problem.  or maybe you could close it and just have the installer do a
quick test to see if shadow is enabled and then warn about it?