Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to check which priv is needed?

RaiderOfTheLostSPARCJul 10 2017 — edited Jul 10 2017

Hi,

I saw this blog post the other day https://milek.blogspot.de/2017/07/sudo-and-solaris-privileges.html

and wondered how to trace/check which privilege is exactly needed?

Seems like ppriv doesn't work:

$ ppriv -e -f +D fmadm faulty

fmadm: failed to get case list from fmd: operation requires additional privilege

nor truss

$ truss -f fmadm faulty 2>&1 | grep priv

152:    lwp_private(0, 1, 0xF05A2A40)                   = 0x000001C3

operation requires additional privilege152:     write(2, " o p e r a t i o n   r e".., 39)      = 39

So how do I get which privilege I need to run system commands?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 7 2017
Added on Jul 10 2017
3 comments
314 views