|
That takes away accountability for the user. It's definitely an option for some apps, but not for all. Thanks, Mark Mark D. Walter Senior Programmer/Analyst CCX, Inc. mwalter@xxxxxxxxxx http://www.ccxinc.com "Flaker, Jeff" <JFlaker@xxxxxxx> Sent by: To web400-bounces@mi "Web Enabling the AS400 / iSeries" drange.com <web400@xxxxxxxxxxxx> cc 03/10/2005 02:44 Subject PM RE: [WEB400] Switching Profiles Please respond to Web Enabling the AS400 / iSeries <web400@midrange. com> Another option is to use adopted authority on your programs, that way the user doesn't need any specific authority because the program will have the authority. CHGPGM PGM(YourProgram) USRPRF(*OWNER) CHGOBJOWN OBJ(YOURPGM) OBJTYPE(*PGM) NEWOWN(SUPERUSERwithEnoughAuthority) make sure this isn't a user profile of a person because people leave from time to time. Jeffrey Flaker Senior Programmer/Analyst Linens 'N Things 6 Brighton Rd Clifton, NJ 07015 Phone: 973-249-4384 Fax: 973-249-4901 http://www.lnt.com "A good player makes himself look good; a great player makes the team look good." Author unknown -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of MWalter@xxxxxxxxxxxxxxx Sent: Thursday, March 10, 2005 2:19 PM To: Web Enabling the AS400 / iSeries Subject: RE: [WEB400] Switching Profiles Yea, I knew that. I'm actually switching to the profile of the user running the web app. Ultimately, control goes back to QTMHHTTP. That's why I'm switching back to that when the work is done. Maybe I need to go back to QTMHHTP1, and let OS/400 switch it back to QTMHHTTP. I don't want to give an IBM generic profile any more authority than it needs. Especially to my data. Thanks, Mark Mark D. Walter Senior Programmer/Analyst CCX, Inc. mwalter@xxxxxxxxxx http://www.ccxinc.com "Flaker, Jeff" <JFlaker@xxxxxxx> Sent by: To web400-bounces@mi "Web Enabling the AS400 / iSeries" drange.com <web400@xxxxxxxxxxxx> cc 03/10/2005 02:11 Subject PM RE: [WEB400] Switching Profiles Please respond to Web Enabling the AS400 / iSeries <web400@midrange. com> The user in the active job for the server is QTMHHTTP, however, the user which does all the dirty work (running the actual program) would be QTMHHTP1<--need sufficient authority. Hope this helps Jeffrey Flaker Senior Programmer/Analyst Linens 'N Things 6 Brighton Rd Clifton, NJ 07015 Phone: 973-249-4384 Fax: 973-249-4901 http://www.lnt.com "A good player makes himself look good; a great player makes the team look good." Author unknown -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of MWalter@xxxxxxxxxxxxxxx Sent: Thursday, March 10, 2005 1:56 PM To: Web Enabling the AS400 / iSeries Subject: Re: [WEB400] Switching Profiles After some research, I've determined that the problem is happening when I try to switch the profile back. I watch the service program in debug, the error DS is empty. The profile does indeed switch back, but the next call to a CGI program ends the CGI job. Nothing in the job log. It states that the job completed normally. I'm generating a new profile token from the user profile in positions 254 to 263 of the status data structure. It would be QTMHHTTP in this case. Any ideas? Thanks, Mark Mark D. Walter Senior Programmer/Analyst CCX, Inc. mwalter@xxxxxxxxxx http://www.ccxinc.com MWalter@hanoverwi re.com Sent by: To web400-bounces@mi Web Enabling the AS400 / iSeries drange.com <web400@xxxxxxxxxxxx> cc 03/09/2005 02:43 Subject PM [WEB400] Switching Profiles Please respond to Web Enabling the AS400 / iSeries <web400@midrange. com> Ok, Thanks to much help from Scott Klement and Carsten Flensburg, I've gotten my CGIDEV2 Web app to work. Almost. I have an issue where i have to switch to a profile that has authority to an IFS file. The profile switches fine, the command executes fine, but when the profile is switched back, the cgi job ends. There is nothing in the job log stating why. It's states that the job ended normally. Any idea where I can look for more information as to why the CGI job ends? Thanks, Mark Mark D. Walter Senior Programmer/Analyst CCX, Inc. mwalter@xxxxxxxxxx http://www.ccxinc.com -- This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400. -- This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400. -- This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400. -- This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400. -- This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.