auths-列出当前用户的授权
auths list-列出当前用户的授权
auths list -u username-列出 username 的授权
auths list -x-列出当前用户的需要验证的授权
auths list -xu username-列出 username 的需要验证的授权
auths info-列出命名服务中的所有授权名称
getent auth_attr-列出命名服务中所有授权的完整定义
$ auths info solaris.account.activate solaris.account.setpolicy solaris.admin.edit ... solaris.zone.login solaris.zone.manage示例 6-2 列出授权数据库的内容
$ getent auth_attr | more solaris.:::All Solaris Authorizations::help=AllSolAuthsHeader.html solaris.account.:::Account Management::help=AccountHeader.html ... solaris.zone.login:::Zone Login::help=ZoneLogin.html solaris.zone.manage:::Zone Deployment::help=ZoneManage.html示例 6-3 列出用户的缺省授权
以下授权包含在缺省情况下指定给所有用户的权限配置文件中。
$ auths solaris.device.cdrw,solaris.device.mount.removable,solaris.mail.mailq solaris.network.autoconf.read,solaris.admin.wusb.read solaris.smf.manage.vbiosd,solaris.smf.value.vbiosd