× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




David Gibbs wrote on 02/22/2005 12:25:35 PM:
> If I am signed on as QSECOFR, and run a program (ILE CL) that is owned
> by a normal user and has USRPRF(*OWNER), what is the programs effective
> authority?  QSECOFR or the users?
>
> I've got a program that is being run as QSECOFR, but the USRPRF value is
> that of a normal user ... the program is failing when it's trying to
> switch profile handles to another *SECOFR profile because it does not
> have *USE authority to QSECOFR.

A process must have *USE authority to a user profile to get a profile
handle for that user profile. If the program will be swapping the process
from a powerful user profile such as QSECOFR to a normal user profile then
that program may not be able to swap back unless it does at least one of
these two things.

1. It adopts its owners authority and the owner has lots of authority.
(*ALLOBJ or *USE authority to the user profile to be swapped to.) This may
not be a good idea because while the process is swapped to the normal user
profile the program will still be adopting lots of authority.

2. The program gets a profile handle for *CURRENT before doing any
swapping. It can then always use that handle to swap back after swapping to
a user profile with little or no authority.

Ed Fishel,
edfishel@xxxxxxxxxx


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.