Securing Users and Processes in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Listing Authorizations

  • auths – Lists the current user's authorizations

  • auths list – Lists the current user's authorizations

  • auths list -u username – Lists the authorizations for username

  • auths list -x – Lists the current user's authorizations that require authentication

  • auths list -xu username – Lists the username's authorizations that require authentication

  • auths info – Lists all authorization names in the naming service

  • getent auth_attr – Lists the full definition of all authorizations in the naming service

Example 6-1  Listing All Authorizations
$ auths info
    solaris.account.activate
    solaris.account.setpolicy
    solaris.admin.edit
...
    solaris.zone.login
    solaris.zone.manage
Example 6-2  Listing the Content of the Authorizations Database
$ 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
Example 6-3  Listing the Default Authorizations of Users

The following authorizations are included in the rights profiles that are assigned to all users by default.

$ 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