On 08/13/09 17:42, Brian Ruthven - Solaris Network Sustaining - Sun UK
wrote:
Steffen Weiberle wrote:
'ppriv $$' will list the privileges of the current shell.
'ppriv -l' will list all of them
'ppriv -lv' will include a better description.
Unfortunately, it is not easy to find out what privileges make up the
'basic' set. It does include proc_fork, proc_exec, proc_session, offhand.
I'm no privileges expert (I can barely spell it!), but I think it is
Clearly, I am not either :)
easy to tell what the basic set is. The privileges(5) man page lists
what they are (and if this is wrong, a bug needs to be logged to get it
corrected):
Of the privileges listed above, the privileges
PRIV_FILE_LINK_ANY, PRIV_PROC_INFO, PRIV_PROC_SESSION,
PRIV_PROC_FORK and PRIV_PROC_EXEC are considered "basic"
privileges.
Comparing the output of the following two commands would seem to confirm
this:
$ ppriv $$ | grep E:
E: basic
$ ppriv -v $$ | grep E:
E: file_link_any,proc_exec,proc_fork,proc_info,proc_session
[ For reference, I'm using OpenSolaris based on snv_118 ]
And S10 5/09 reads and does the same (or similar enough)!! I had tried
-l, and -v in a different way.
Thanks
Steffen
Regards,
Brian
_______________________________________________
networking-discuss mailing list
[email protected]