× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: chgc0100 exit point. was Default for command without default value?
  • From: "Ed Fishel" <edfishel@xxxxxxxxxx>
  • Date: Wed, 1 Aug 2001 08:43:35 -0500


Steve,

Here is my answer to some of your questions.

>>Could the GrtObjAut cmd be registered as a *Chgc0100 exit pgm. Then the
exit pgm would see all GrtObjAut command strings run on the entire system?

Yes

>>Could the exit pgm chg the GrtObjAut cmd string to grant the authority to
another user profile without the executing pgm knowing about it?

Yes

>>If the FireEmployee cmd in the personnel system is registered in this
way, will the exit pgm see each execution of this command? Even if the exit
pgm owner is not authorized to the personnel system library?

Yes

>>You must have *AllObj and *SecAdm to register an exit pgm.  Should not
the exit pgm itself have to be owned by a profile with *AllObj/*SecAdm ?

That sounds like a good idea.

>>Otherwise, careless managing of the exit pgm could result in an exit pgm
running code you dont want it to run.

What you are talking about is using this as another way of introducing a
Trojan horse into the system. The exposure you describe is basically the
same exposure that exists for other exit programs. If you care about
security you need to manage the public and private authorities of:
- All programs and commands that are run by someone with lots of authority.
- The validity checking program that has been added to any CL command.
- All commands placed in a library that is ahead of QSYS in the library
list.
- Any library that is placed ahead of QSYS in the system part of the
library list. Anyone that has authority to create a new program or command
in this library has the ability to create a Trojan horse program or
command.

Ed Fishel,
edfishel@US.IBM.COM


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-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 thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.