Right now I have two Perl scripts I wrote being called from the root user's crontab (Red Hat Linux), one to stop Luminis and the other start Luminis (to accommodate our Bare Metal Restore backup software). These scripts work great. Since I was told Luminis should be stopped/started as the lmadmin user and not root I wanted to run these scripts in the lmadmin user's cron tab but when you run them as that user they ask for the root user's password. Has anyone figured out a good way to handle this? I was going to try using autoexpect to have it create a script for me but I thought I would ask others to see if someone already tackled this.
Thanks!
sudo
Most people use sudo. Sungard should be able to help you set that up, and it is a supported method.