running cron jobs with output

Hi all,

I have a couple of scripts that I need to run in ADMIN_HIGH or even ADMIN_LOW. I need access to all directories and files under /. I am new to trusted solaris so I would like to ask some help in understanding as to how I can launch a shell script from cron in priviledged mode. I modified the crontab from priviledged shell but it looks like everything ends up in the crontab for root. So when these scripts run, they get permission denied in directories that they don't have mac access to. I know the scripts work just fine in traditional solaris 8 and 10. So after a long winded explanation, what is the reccomended way to launch these scripts so they they are in priviledged more and get access to all directories under /? I did try running them under #!/bin/pfsh as opposed to #!/bin/sh but no luck.

Any thoughts or suggestions would be appreciated.

Thanks

Shantu

[914 byte] By [sroy] at [2007-11-25 23:04:37]
# 1
Just a second note,I have outputs that come out of the scripts so the it can be mailed to root. This is because I want to know the outcomes of the script.ThanksShantu
sroy at 2007-7-5 17:56:12 > top of Java-index,General,Sun Alert and Security Discussion...
# 2
just run it as primaryadmin @ admin_high without the priviledge shell. This should allow you to read all files no matter what classification. Priviledge shell will act as it is a superuser or root so that is why the root crontab comes up I believe.
eric3smith at 2007-7-5 17:56:12 > top of Java-index,General,Sun Alert and Security Discussion...