Priliveged Command not working?

SteveJoe
Kilo Expert

I am testing Discovery on a Unix host.  I am getting the following warning message with my Discovery Scan. 

 

Sorry, user xxx-xxxx is not allowed to execute '/usr/sbin/lsof -iTCP -n -P -F pcnfT' as root on UnixHost.site.corpation.com. - Exit status: 1

 

note:  xxx-xxxx = this is the configured Unix credential

 

I researched the docs.servicenow.com and cannot determine specifically what I am missing.  I added to the Privileged Command 'lsof' and assigned to the Mid server. The Unix credential account does have enough permission to use the 'lsof' command on this specific endpoint.

 

Any suggestions to how I should resolve would be most grateful. 

 

Thank you

 

 

 

 

1 ACCEPTED SOLUTION

DaveHertel
Kilo Sage
Kilo Sage

Hi - be sure the unix commands that need to be ran by probes are allowed to sudo and be sure the credentials account you've setup for scanning linux/unix is setup for sudo access.  More info on Linux discovery setup

Hope this helps?

View solution in original post

2 REPLIES 2

DaveHertel
Kilo Sage
Kilo Sage

Hi - be sure the unix commands that need to be ran by probes are allowed to sudo and be sure the credentials account you've setup for scanning linux/unix is setup for sudo access.  More info on Linux discovery setup

Hope this helps?

Thank you Dave, I will review the document in detail along with rechecking the privileged command and credential at the endpoint.