创建和使用 Oracle® Solaris 区域

退出打印视图

更新时间: 2015 年 5 月
 
 

如何列出带有详细输出的非全局区域的特权集

可以使用带有 –l 选项、表达式 zone,以及 –v 选项的 ppriv 实用程序列出区域的特权。

  1. 登录到非全局区域。此示例使用名为 my-zone 的区域。
  2. 在提示符下,键入 ppriv –l –v zone 以报告区域中的一组可用特权,同时给出每个特权的说明。
    my-zone# ppriv -lv zone

    将显示以下类似信息:

    contract_event
            Allows a process to request critical events without limitation.
            Allows a process to request reliable delivery of all events on
            any event queue.
    contract_identity
            Allows a process to set the service FMRI value of a process
            contract template.
    contract_observer
            Allows a process to observe contract events generated by
            contracts created and owned by users other than the process's
            effective user ID.
            Allows a process to open contract event endpoints belonging to
            contracts created and owned by users other than the process's
            effective user ID.
    file_chown
            Allows a process to change a file's owner user ID.
            Allows a process to change a file's group ID to one other than
            the process' effective group ID or one of the process'
            supplemental group IDs.
    .
    .
    .