More of a Perl programmer than HP-UX Sys Admin.
There are a few posts related to this, but, none of the answer work for me, yet.
I am in the situation of determining security compliance for a number of machines. The rule set I must check includes checking the environment variables for arbitrary processes. I don't know what process will be the target until the rule is read. So, I must collect the environment vars for a given process on the fly.
On other operating systems, this is trivial. I don't see a direct way to do it on HP-UX. I'm usually on 11.31, but, this chore needs to work on recent versions of HP-UX.
I hoped pstat_getproc would work, but, it does not return what would be considered the env vars.
Ideas?
'hope this helps
If you are new to Tek-Tips, please use descriptive titles, check the FAQs, and beware the evil typo.
There are a few posts related to this, but, none of the answer work for me, yet.
I am in the situation of determining security compliance for a number of machines. The rule set I must check includes checking the environment variables for arbitrary processes. I don't know what process will be the target until the rule is read. So, I must collect the environment vars for a given process on the fly.
On other operating systems, this is trivial. I don't see a direct way to do it on HP-UX. I'm usually on 11.31, but, this chore needs to work on recent versions of HP-UX.
I hoped pstat_getproc would work, but, it does not return what would be considered the env vars.
Ideas?
'hope this helps
If you are new to Tek-Tips, please use descriptive titles, check the FAQs, and beware the evil typo.