hi
I'm trying to run a command through a cron-job. The command executes a REXX-Executable. I'm not quite sure "who I am" when I run the REXX as cron (->root?). Anyway, I try to set my environment variables to those required by running '.profile' at the beginning of my REXX. That didn't work, because REXX starts a new process for all environment commands and closes them afterwards - so '.profile' is ineffective for all following UNIX-commands. Then I tried to set the correct environment by specifying a 'su <someone> -c <command>'. I get the following message:
3004-501 Cannot su to "<someone>" : Authentication is denied. This someone is in the cron.allow - I have done other cron-jobs with this user, just never a REXX.
well, anyone still following an even got an idea?
thanks!
I'm trying to run a command through a cron-job. The command executes a REXX-Executable. I'm not quite sure "who I am" when I run the REXX as cron (->root?). Anyway, I try to set my environment variables to those required by running '.profile' at the beginning of my REXX. That didn't work, because REXX starts a new process for all environment commands and closes them afterwards - so '.profile' is ineffective for all following UNIX-commands. Then I tried to set the correct environment by specifying a 'su <someone> -c <command>'. I get the following message:
3004-501 Cannot su to "<someone>" : Authentication is denied. This someone is in the cron.allow - I have done other cron-jobs with this user, just never a REXX.
well, anyone still following an even got an idea?
thanks!