Solved

Adopted Authority

Posted on 2011-03-03
1
810 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 35

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Configuring Remote Assistance for use with SCCM
By reading this blog, MSPs will gain insight into how to improve communications with their clients as well as establish a more profitable business.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

738 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