Hello Nikola. Hope you had a great 4th!. I have been pulled in some other directions lately, just now getting back to the fun stuff. I have been looking at BMC site: Adding privileged execution to commands”. I followed the instructions to take a look at what we are doing in ADDM PRD. The web page indicates ADDM out of the box has no commands using privileged execution. It provides an example of the PRIV_LSOF command that should be there.
…
PRIV_LSOF() {
sudo “$@”
}
…
What I see when I open the lsof script:
Method: getProcessToConnectionMapping Script: lsof-i (10 lines) *Privileges Enabled:Yes
temp_lc=$LC_ALL
LC_ALL=C
export LC_ALL
if [ `uname -r | cut -d. -f2` -lt 7 ]; then
PRIV_LSOF lsof -l -n -P -F ptPTn -C -i 2>/dev/null
else
PRIV_LSOF lsof -l -n -P -F ptPTn -i 2>/dev/null
fi
LC_ALL=$temp_lc
export LC_ALL
The command above running sudo is not here. My question is can this effect pulling the versioning detail from the UNIX servers?