|
>I write a CL program that will create a user profile and forms a password. I >create the CL with QSECOFR user profile and change it to *OWNER when >compiling. The adopt authority default for the program is *YES. > >But, when i try to run it from *PGMR user profile, it didn't want to create >the user profile. I got the message, that *SECADM special authority is >needed. Could anybody give me a clue of something that i missed? From my >understanding, it should let other user to adopt QSECOFR authority when that >program is ran. Jean this all looks OK - infact I have just tried it & it works ok under QPGMR (which has only JOBCTL & SAVSYS). I am at V4R4. Sounds as if the program is not set up right. I would check that there are not 2 versions of the program & that the version you are calling does have *OWNER and that the Owner is QSECOFR. IIRC, a normal compile will fail (with joblog) if there is an object of the same name but with a different owner. Mike +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.