[Nagios-users] Permissions problem

2009-04-23 Thread Adam Mooz
Hello List, I'm using Nagios and NRPE to monitor some system logs on a remote system via check_logfiles. Here's the setup: -user 'nagio's is part of the 'adm' group -/var/log/syslog is readable by the 'adm' group -manually executing check_logfiles as nagios (sudo -u nagios ./ check_logfiles )

[Nagios-users] Permissions problem

2012-04-01 Thread Phil Dobbin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, all. I've just installed Nagios 3.2.1-2 on GNU/Linux Debian Squeeze 6.0.4 & it's running fine but I have a permissions problem when trying to authenticate as the `nagios` user in order in the first instance to read the docs on the web interface (I

Re: [Nagios-users] Permissions problem

2009-04-23 Thread Patrick Morris
On Thu, 23 Apr 2009, Adam Mooz wrote: > I'm using Nagios and NRPE to monitor some system logs on a remote > system via check_logfiles. > > Here's the setup: > -user 'nagio's is part of the 'adm' group > -/var/log/syslog is readable by the 'adm' group > -manually executing check_logfiles as nagi

Re: [Nagios-users] Permissions problem

2009-04-23 Thread Adam Mooz
No, it's not, but that doesn't matter. I can manually execute the plugin, but not via NRPE, so I think something isn't running as nagios. Top says NRPE is running as nagios though. What user does the NRPE run it's scripts as on the remote machine? On 23-Apr-09, at 3:01 PM, Patrick Morris

Re: [Nagios-users] Permissions problem

2009-04-23 Thread Patrick Morris
On Thu, 23 Apr 2009, Adam Mooz wrote: > No, it's not, but that doesn't matter. I can manually execute the > plugin, but not via NRPE, so I think something isn't running as > nagios. Top says NRPE is running as nagios though. What user does > the NRPE run it's scripts as on the remote mach

Re: [Nagios-users] Permissions problem

2009-04-23 Thread Patrick Morris
By the way, for further info see the xinetd man page, which (on my system, anyway) states: group determines the gid for the server process. The group name must exist in /etc/group. If a group is not specified, the group of user will be used (from /etc/passwd). This attribute is ineffec

Re: [Nagios-users] Permissions problem

2009-04-24 Thread Adam Mooz
I didn't know about the primary group bit, thanks! It's all working, apologies for the snarky-ness in the previous message. All is good now :) On 23-Apr-09, at 4:24 PM, Patrick Morris wrote: > By the way, for further info see the xinetd man page, which (on my > system, anyway) states: > > g

Re: [Nagios-users] Permissions problem

2012-04-01 Thread Phil Dobbin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/04/2012 11:52, Giorgio Zarrelli wrote: > as user root you can su to any other user without being requested for any > passwords. > > Anyway, if the nagios user has no valid shells in /etc/passwd, you won't > be able to su to it even though you a

Re: [Nagios-users] Permissions problem

2012-04-01 Thread Giorgio Zarrelli
Hi, as user root you can su to any other user without being requested for any passwords. Anyway, if the nagios user has no valid shells in /etc/passwd, you won't be able to su to it even though you are root. Check the /etc/passwd, it's format is: user:1020:1025:,,,:/home/user:/bin/bash Look f