On Fri, Jul 29, 2022 at 2:56 PM Steve McKay <samckay1@xxxxxxxxx> wrote:

So wouldn't the existence of the /pkgs directory under /QOpenSys indicate
that various open source packages had been installed via ACS?

You keep saying "via ACS" but as Marc explained, it's more accurate to
say via yum, or RPM. (Each package is in RPM format; yum is the
package manager. You can use yum with or without ACS, you can install
yum with or without ACS.)

There is definitely no way to know whether someone used ACS or not.
All you can know for sure is whether yum has been installed.

Without yum, "normal people" would not be able to install any of the
other packages, so it should be fairly reliable to check for the
existence of '/QOpenSys/pkgs/bin/yum'.

Even more reliable would be to execute it and get a list, as mentioned by Marc:

/QOpenSys/pkgs/bin/yum list

(This is more reliable because someone could simply create the IFS
directory, and could even put a stream file called 'yum' in that
directory, And that stream file could be empty, or some random text,
or whatever. What really matters is that yum can be successfully
executed.)

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.