|
QTCP is protected from being used by the swap APIs - You can't get a profile handle for it. 5. Then immediately switch back to whatever user was running the job (possibly QTCP). > -----Original Message----- > From: qsrvbas@xxxxxxxxxxxx [SMTP:qsrvbas@xxxxxxxxxxxx] > Sent: Friday, March 21, 2003 5:25 PM > To: midrange-l@xxxxxxxxxxxx > Subject: RE: Problems with adopting authority > > Rob: > > I'd try it this way... > > 1. Leave owner as QSECOFR (or better, a *SECOFR but not QSECOFR). > 2. Leave program as usrprf( *OWNER ). > 3. Early in the program, switch to an authorized profile that can execute > user profile changes. > 4. Call QCAPCMD (or whatever) to do the work. > 5. Then immediately switch back to whatever user was running the job > (possibly QTCP). > > This way, usrprf(*OWNER) has authority to switch both ways and the > switched-to profile has authority to do the work without requiring adopted > authority. > > You should only need to create the one switched-to profile unless you also > choose to create the alternative *SECOFR profile (a very good idea, > avoiding QSECOFR). > > Tom Liotta > > midrange-l-request@xxxxxxxxxxxx wrote: > > > 9. Re: Problems with adopting authority. > > > >IBM responded to my pmr. Working as designed. You cannot access a user > >profile with adopted authority. Via QCAPCMD, CL program or anything. > > > >Suggestion: Grant QTCP access to that user profile. > > > >Scares me at first, but the more I study that it sounds reasonable. But > >I'd appreciate comments from y'all. > > -- > -- > Tom Liotta > The PowerTech Group, Inc. > 19426 68th Avenue South > Kent, WA 98032 > Phone 253-872-7788 x313 > Fax 253-872-7904 > http://www.powertechgroup.com > > > __________________________________________________________________ > Try AOL and get 1045 hours FREE for 45 days! > http://free.aol.com/tryaolfree/index.adp?375380 > > Get AOL Instant Messenger 5.1 for FREE! Download Now! > http://aim.aol.com/aimnew/Aim/register.adp?promos=380455 > _______________________________________________ > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing > list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l.
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.