Polyinstantiation in cron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I created a normal user (urss) and added a crontab entry for that user that runs a script. I can get the script launched at level, but not polyinstantiated. A 'cat /proc/mounts' shows no polyinstantiation for the cron session, but a normal login session has properly polyinstantiated directories.

The crontab entry looks like:

SELINUX_ROLE_TYPE=user_u:user_r:user_t:UNCLASSIFIED-UNCLASSIFIED
* * * * * /opt/jcdx/libexec/urss-rss2email-cron.sh
SELINUX_ROLE_TYPE=user_u:user_r:user_t:UNCLASSIFIED-UNCLASSIFIED
* * * * * /opt/jcdx/libexec/urss-delivermail-cron.sh

The relevant portion of /opt/jcdx/libexec/urss-delivermail-cron.sh

#!/bin/bash
id
ls -Z /var/mailboxes
cat /proc/mounts

Have I missed some cron specific pam configuration? Did this work for RHEL 5.X LSPP?

joe


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux