I'm setting up Nagios and want to configure some check_by_ssh commands.
To allow password less login I need to create a public/private key for the nagios user.
The nagios user was created by the nagios4 port without a home directory.
How can I create a home directory for the nagios user?
To allow password less login I need to create a public/private key for the nagios user.
The nagios user was created by the nagios4 port without a home directory.
Code:
# getent passwd nagios
nagios:*:181:181:Nagios pseudo-user:/var/spool/nagios:/usr/sbin/nologin