Solved

Adopted Authority

Posted on 2011-03-03
1
795 Views
Last Modified: 2012-05-11
I have a program that I have written that essentially ends a particular subsystem and then starts it back up.  I want to allow one of our generic plant user accounts the ability to run this command so they can start/stop a subsystem for troubleshooting. The problem is that the generic user does not have permissions to use the ENDSBS/STRSBS command and I don't really want to go out to each of our 50 servers to change the authority for those commands.

I attempted to do a SBMJOB on the ENDSBS/STRSBS commands and run that as QSYSOPR, but the generic user profile does not have authority to the QSYSOPR user profile.

Does anyone know a way that I can run this program using this generic user profile? I didn't know if there was a compile option or a command that would help me get around this?

Any help would be greatly appreciated.
0
Comment
Question by:Matthew Roessner
1 Comment
 
LVL 34

Accepted Solution

by:
Gary Patterson earned 250 total points
ID: 35027437
Sure:

1) Compile the program to use adopted authority, and
2) Then assign ownership of the program to a profile that has authority to run the commands (like QSYSOPR in your example)

http://www.mcpressonline.com/security/ibm-i-os400-i5os/object-security-by-adoption.html

- Gary Patterson
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
We have come a long way with backup and data protection — from backing up to floppies, external drives, CDs, Blu-ray, flash drives, SSD drives, and now to the cloud.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now