Setcap Dsiallow Non-root User to Run pstack to Check Process Call Stack
(Doc ID 2431727.1)
Last updated on AUGUST 08, 2018
Applies to:Linux OS - Version Oracle Linux 6.5 and later
- grant the necessary capabilities to executable and run it as non-root user:
# getcap <executable-bin>
- 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.
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