Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Adopted Authority

Posted on 2011-03-03
1
Medium Priority
?
814 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 1000 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

We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
In this article, I’ll show how research, determination, and use of modern technology helped me solve a DNA mystery.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

715 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