Nagios Linux User

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
aston
Posts: 29
Joined: Fri Nov 18, 2011 9:45 am

Nagios Linux User

Post by aston »

Hi Guys

i was wondering what the process would be to change the nagios password within side linux i guess its configured somewhere within the nagios configuration files.

cheers
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Nagios Linux User

Post by jsmurphy »

When you say Nagios password you mean the Linux Nagios user account? Or the 'nagios' user login for the app? Well here's both anyway:

Linux user:
passwd nagios
<follow the prompts>

nagios user:
htpasswd2 <path-to-password-file> nagios <new password>
The default path is /usr/local/nagios/etc/htpasswd.users
aston
Posts: 29
Joined: Fri Nov 18, 2011 9:45 am

Re: Nagios Linux User

Post by aston »

HI Mate
it was the linux user, do i need to configure the new password anywhere within the nagios configuration files for example ?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios Linux User

Post by mguthrie »

I don't think so, the nagios user should be set with "nologin", so a user wouldn't be able to log into a shell as the nagios user.
Locked