Feature #8015
ppriv should support quering for specific privileges
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2017-03-30
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
Currently there's no elegant way to find out from shell if some privilege is available for the process.
From man page:
/usr/bin/ppriv -q [-f {+-}{ADMPTUX}] [privilege-specification] ... –q Tests whether privileges are in the effective set and whether flags are set or non-set. The programs exits successfully when all tests are fullfilled.
No data to display