× 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.



>       date: Fri, 22 Oct 2004 11:22:00 -0500 (CDT)
>       from: Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
>       subject: Re: QSYSETUID and QSYSETGID
> 
>       Hi Lorne,
> 
>       Those APIs (qsysetuid(), et al) are designed to make it easier to
> convert
>       Unix programs to run on the iSeries.  Since you're coding in RPG,
> that's
>       probably not where you're coming from.
> 
>       You might find the Profile Handle or Profile Token APIs more
> intuitive for
>       your purposes, since you give them an actual user profile name
> rather than
>       a Unix uid/gid as input.
> 
>       Just a thought.
> 
        Thanks again, Scott. I am actually trying to follow Carol Woodbury's
recommendations in 'Experts Guide to OS/400 & i5/OS Security' in which she
reviews the Profile Swap and Profile Token APIs as well as the UID and GID
API methods and recommends GID as her current favorite because it provides
temporary authority to the application objects for the current thread only.

        Lorne.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.