Page 1 of 1
When I install xi-2012r2.2.tar,it prompt ”Permission denied“
Posted: Mon Jan 13, 2014 1:29 am
by huanhuan7777
# cd /tmp/nagiosxi/
# ./fullinstall
------
Running './C-cronjobs'...
Permission denied
You (apache) are not allowed to access to (crontab) because of pam configuration.
RESULT=1
It is why???
Who can tell me ???
Thank you ~~~
Re: When I install xi-2012r2.2.tar,it prompt ”Permission den
Posted: Mon Jan 13, 2014 3:01 am
by huanhuan7777
The file
/etc/pam.d/crond:
Code: Select all
#
# The PAM configuration file for the cron daemon
#
#
# No PAM authentication called, auth modules not needed
auth required pam_env.so
account required pam_access.so
account include password-auth
session required pam_loginuid.so
session include password-auth
auth include password-auth
#auth required pam_env.so
Re: When I install xi-2012r2.2.tar,it prompt ”Permission den
Posted: Mon Jan 13, 2014 10:35 am
by abrist
What user are you running the install as? (you should be root)
Re: When I install xi-2012r2.2.tar,it prompt ”Permission den
Posted: Mon Jan 13, 2014 9:48 pm
by huanhuan7777
abrist wrote:What user are you running the install as? (you should be root)
I use root.
When I edited
/etc/security/access.conf file like this:
It worked!
But I don't know it‘s why!
You know?
Thank you vary much~
Re: When I install xi-2012r2.2.tar,it prompt ”Permission den
Posted: Tue Jan 14, 2014 11:27 am
by abrist