Unix/Linux Go Back    

OpenSolaris 2009.06 - man page for auths (opensolaris section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

auths(1)				  User Commands 				 auths(1)

       auths - print authorizations granted to a user

       auths [ user ]...

       The auths command prints on standard output the authorizations that you or the optionally-
       specified user or role have been granted. Authorizations are rights that  are  checked  by
       certain privileged programs to determine whether a user may execute restricted functional-

       Each user may have zero or more authorizations. Authorizations are represented  by  fully-
       qualified  names,  which  identify the organization that created the authorization and the
       functionality that it controls. Following the Java convention, the hierarchical components
       of  an  authorization  are separated by dots (.), starting with the reverse order Internet
       domain name of the creating organization, and ending with the specific function	within	a
       class of authorizations.

       An asterisk (*) indicates all authorizations in a class.

       A user's authorizations are looked up in user_attr(4) and in the /etc/security/policy.conf
       file (see policy.conf(4)). Authorizations may be specified  directly  in  user_attr(4)  or
       indirectly  through prof_attr(4). Authorizations may also be assigned to every user in the
       system directly as default  authorizations  or  indirectly  as  default	profiles  in  the
       /etc/security/policy.conf file.

       Example 1 Sample output

       The auths output has the following form:

	 example% auths tester01 tester02
	 tester01 : solaris.system.date,solaris.jobs.admin
	 tester02 : solaris.system.*

       Notice  that  there  is	no  space  after  the comma separating the authorization names in

       The following exit values are returned:

       0    Successful completion.

       1    An error occurred.





       See attributes(5) for descriptions of the following attributes:

       |      ATTRIBUTE TYPE	     |	    ATTRIBUTE VALUE	   |
       |Availability		     |SUNWcsu			   |

       profiles(1), roles(1), getauthattr(3SECDB),  auth_attr(4),  policy.conf(4),  prof_attr(4),
       user_attr(4), attributes(5)

SunOS 5.11				   25 Mar 2004					 auths(1)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 04:16 PM.