Trusted Solaris Installation and Configuration

To See Process and Privilege Information in a Profile Shell

    To see the process label, enter the plabel(1) command in a profile shell.


    % plabel
    pid: [ADMIN_LOW]
    

    If the plabel command is in your execution profile, the label of the process is displayed.

    To see what privileges have been accorded to you, enter the ppriv(1) command.


    $ ppriv
    pid: none
    

    If the ppriv command is in your execution profile, the privileges available to commands run in the profile shell are displayed.