plabel(1) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

plabel(1)

plabel(1)                        User Commands                       plabel(1)

NAME
       plabel - get or set the label of a process

SYNOPSIS
       /usr/bin/plabel [-sS] [pid...]


       /usr/bin/plabel [-sS] -l clearance pid...

DESCRIPTION
       The  plabel  command gets or sets the label of a process. If the pid is
       not specified, the label displayed is that of the plabel command.  When
       options  are not specified, the output format of the label is displayed
       in default format.


       When Trusted Extensions is enabled, the label corresponds to the  label
       of  the  current zone and cannot be changed. Otherwise the label repre‐
       sents the process clearance.

OPTIONS
       -l    Applies the specified clearance to each process in the pid  list.
             The  clearance  of  the  current plabel process must dominate the
             specified clearance, as well as the clearance of each of the tar‐
             get processes. The effective privilege set of the current process
             must be a superset of permitted  privilege  set  of  each  target
             processes.  The  privilege proc_owner is also required to set the
             clearance of any  process  that  is  not  owned  by  the  current
             process.

             This option is not supported when Trusted Extensions are enabled.


       -s    Display the label that is associated with pid in short form.


       -S    Display the label that is associated with pid in long form.


EXIT STATUS
       plabel exits with one of the following values:

       0    Successful completion.


       1    Unsuccessful  completion  because of a usage error or insufficient
            privilege.


       2    Inability to translate label.


       3    Inability to allocate memory.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE VALUE _ Availabilitysystem/file_labeling _ Interface Stability‐
       See below.



       The plabel utility is Committed. The output is Not-an-Interface.

SEE ALSO
       proc(1),   getplabel(3TSOL),  getclearance(3TSOL),  attributes(7),  la‐
       bels(7)

HISTORY
       The -l option, and support for process clearances on systems  not  run‐
       ning Trusted Extensions, was added in Oracle Solaris 11.4.0.


       The  plabel command was added to Solaris in Solaris 10 4/08 (Update 5).
       Prior to that it was included in the Trusted Extensions add-on for  So‐
       laris.

Oracle Solaris 11.4               21 Jun 2021                        plabel(1)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3