IBM iseries i5 web server authority issue
Posted on 2009-07-08
On an IBM AS400 iSeries I am using Apache and PHP to issue system commands. I am running into some authority issues. If I do a "WRKJOBSCDE OUTPUT(*PRINT) PRTFMT(*FULL)" interactively using my login it works great and shows me all data. If I do the same from within my PHP (via the Apache server) I get "CPF1630: Not authorized to job schedule entry" errors and some of the job entry information is missing from the output. My Apache server is using username "QTMHHTTP". Does anyone know of a way to give Apache the authority to do this and other commands without possibly sacrificing security? Thank you!