Setcap Dsiallow Non-root User to Run pstack to Check Process Call Stack
(Doc ID 2431727.1)
Last updated on MAY 14, 2020
Applies to:
Linux OS - Version Oracle Linux 6.5 and laterLinux x86-64
Symptoms
- grant the necessary capabilities to executable and run it as non-root user:
# getcap <executable-bin>
= cap_net_bind_service,cap_net_raw+ep
- Now pstack on this running exe fails unless pstack is run as root
- But after removing the capabilities, pstack works fine for non-root user.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |