[Pkg-nagios-devel] Bug #437357, changing nagios user home directory
sven at velt.de
Wed Oct 31 15:12:08 UTC 2007
Marc Haber wrote:
> I would like to solicit your opinion on #437357. I think that we
> should change the nagios user's home directory to something else,
> probably /var/lib/nagios or /home/nagios since the check-by-ssh plugin
> is likely to put its variable data there.
Japp, let's do it. Similar problem here. "/var/lib/nagios" is IMHO the
best choice and it seems to be common. A "grep -c ':/var/lib/'
/etc/passwd" gives me 7 lines with users like "mysql" and "gdm".
> A different fix would be to change the check_by_ssh plugin to pull its
> .ssh/config file from somewhere in /etc/nagios2 and to put its
> known_hosts file to /var/lib/nagios-plugins/check-by-ssh/known_hosts.
I think it's too complicated. No. YMMV.
> What do you guys think?
Go for solution 1.
Thanks for your work & Bye
Leukämie -> http://de.wikipedia.org/wiki/Leuk%C3%A4mie
Heilung -> http://de.wikipedia.org/wiki/Knochenmark#Knochenmarkspende
Typisierung -> http://www.knochenmarkspende.de/html/reg_akb.php
Warum&Fragen -> sven at velt.de
More information about the Pkg-nagios-devel