Issue:-The error message "Cron : Error: failed to open PAM Security session" and " Cron:Error:cannot set security context" appears when trying to execute a cron job from a RHEL 5.0 server
Cause:-
The package vixie-cron-4.1-76.el5.x86_64.rpm has to be updated. Vixie cron adds better security and more powerful configuration options to the standard version of cron. This cron can use pam and selinux for higher level of security.
Resolution:-
1.Download the package vixie-cron-4.1-76.el5.x86_64.rpm
2.With root privileges execute the command rpm -Uvh vixie-cron-4.1-76.el5.x86_64.rpm
3.Issue the command updatedb
Cause:-
The package vixie-cron-4.1-76.el5.x86_64.rpm has to be updated. Vixie cron adds better security and more powerful configuration options to the standard version of cron. This cron can use pam and selinux for higher level of security.
Resolution:-
1.Download the package vixie-cron-4.1-76.el5.x86_64.rpm
2.With root privileges execute the command rpm -Uvh vixie-cron-4.1-76.el5.x86_64.rpm
3.Issue the command updatedb