Code: Select all
getenforceCode: Select all
getenforceNo and no.abrist wrote:Is selinux enabled on the remote system?Is your home directory encrypted?Code: Select all
getenforce
Code: Select all
grep nagios /etc/shadowabrist wrote:Do you have any restrictions on the nagios account on the remote host?I ask because I have often seen "nologin" configured on the nagios user in /etc/shadow.,Code: Select all
grep nagios /etc/shadow
Code: Select all
grep nagios /etc/shadow
nagios::15931:0:99999:7:::
Code: Select all
grep nagios /etc/passwdsreinhardt wrote:That looks good, lets just be 100% and check /etc/passwd.Code: Select all
grep nagios /etc/passwd
Code: Select all
nagios:x:502:505::/home/nagios:/bin/bash