[Pkg-nagios-devel] Bug#497513: nagios3-common: improve htpasswd.users creation in postinst script

Alessandro De Zorzi lota at nonlontano.it
Tue Sep 2 09:14:55 UTC 2008


Package: nagios3-common
Version: 3.0.3-2
Severity: minor


I discover inside nagios3-common.config command to
create password for nagiosadmin, but db_input medium
is too low on my system configuration and debhelper
do not ask me anything. With a dpkg-reconfigure 
I create succesfully htpasswd.users.

Anyway, have sense consider to switch to "high"
db_input for nagios3/adminpassword ?

Another thing: could be useful ask to user for
a "username" instead create the static "nagiosadmin".

I do not know if set permission 640 root:www-data
can really bring benefits, but similar projects set
this permissions in this way for configuration file
within passwords.

-rw-r----- 1 root www-data 45  2 set 10:57 htpasswd.users

ciao,
Alessandro De Zorzi

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nagios3-common depends on:
ii  adduser                    3.110         add and remove users and groups
ii  apache2-utils              2.2.9-7       utility programs for webservers
ii  coreutils                  6.10-6        The GNU core utilities
ii  debconf [debconf-2.0]      1.5.22        Debian configuration management sy
ii  lsb-base                   3.2-19        Linux Standard Base 3.2 init scrip
ii  mailutils [mailx]          1:1.2+dfsg1-4 GNU mailutils utilities for handli
ii  nagios-plugins-basic       1.4.12-2      Plugins for the nagios network mon
ii  nagios3-doc                3.0.3-2       documentation for nagios3
ii  ucf                        3.007         Update Configuration File: preserv

Versions of packages nagios3-common recommends:
ii  apache2                       2.2.9-7    Apache HTTP Server metapackage
ii  apache2-mpm-prefork [httpd]   2.2.9-7    Apache HTTP Server - traditional n
ii  nagios-images                 0.4        Collection of images and icons for
ii  nagios-plugins                1.4.12-2   Plugins for the nagios network mon

nagios3-common suggests no packages.

-- debconf information:
  nagios3/adminpassword-mismatch:
  nagios3/nagios1-in-apacheconf: false
  nagios3/httpd: apache2





More information about the Pkg-nagios-devel mailing list