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
Solved

Adopted Authority

Posted on 2011-03-03
1
802 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 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Title # Comments Views Activity
Restoring V6R1 Data to V5R4? 4 221
Restricting read/write operations to files 2 79
AS400 Logging Print device 2 80
iSeries Backup 3 29
Starting your own business is always a daunting process, and for most people it is brand new experience. Avoid the common pitfalls by following these tips to start on the road to success.
ConnectWise and their customers need to ensure critical alerts automatically reach the right person at the right time. MSP superheros efficiently respond to these alerts key is providing automatic, intelligent alerting that generates a complete audi…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

838 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