SunOS man pages : auths (1)
User Commands auths(1)
NAME
auths - print authorizations granted to a user
SYNOPSIS
auths [ user ... ]
DESCRIPTION
The auths command prints on standard output the authoriza-
tions 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 functionality.
Each user may have zero or more authorizations. Authoriza-
tions are represented by fully-qualified names, which iden-
tify the organization that created the authorization and the
functionality that it controls. Following the Java conven-
tion, the hierarchical components of an authorization are
separated by dots (.), starting with the reverse order
Internet domain name of the creating organization, and end-
ing with the specific function within a class of authoriza-
tions.
An asterisk (*) indicates all authorizations in a class.
A user's authorizations are looked up in user_attr(4).
Authorizations may be specified directly in user_attr(4) or
indirectly through prof_attr(4).
EXAMPLES
Example 1: Sample output
The auths output has the following form:
example% auths tester01 tester02
tester01 : com.sun.system.date, com.sun.jobs.admin
tester02 : com.sun.system.*
example%
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 An error occurred.
FILES
/etc/user_attr
/etc/security/auth_attr
SunOS 5.8 Last change: 10 Sep 1999 1
User Commands auths(1)
/etc/security/prof_attr
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWcsu |
|_____________________________|_____________________________|
SEE ALSO
profiles(1), roles(1), getauthattr(3SECDB), auth_attr(4),
prof_attr(4), user_attr(4), attributes(5)
SunOS 5.8 Last change: 10 Sep 1999 2
|
 |
|
|