nagios 1.2 - daemon account msg. not available

Shawn Iverson shawn at nccsc.k12.in.us
Sat Apr 9 04:07:38 CEST 2005


When a user account is created as a system/daemon account (no home
directory), and nagios is started, the following harmless message
occurs:

This account is currently not available.

Nagios appears to check for a home directory instead of checking for the
account's existence via some other means.  Service accounts are not
required to have home directories, normally.  Nagios doesn't seem to use
the home directory for any other purpose.


The account is added as a service account instead of a normal user
account (Red Hat specific):
useradd -r -s /sbin/nologin nagios

or with other *nix systems, I presume:
useradd -M -s /sbin/nologin nagios

/etc/passwd looks like this:
nagios:x:55:96::/:/sbin/nologin

/etc/shadow looks like this:
nagios:!!:12773::::::

--

Shawn Iverson
Technology Associate
MCP W2K3S and W2KP, Linux+, Network+, A+
New Castle Community School Corporation
shawn at nccsc.k12.in.us



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click




More information about the Developers mailing list