| USERATTR(1) | User Commands | USERATTR(1) |
userattr — display
extended user attributes
userattr |
[-v] attr_name
[user] |
The userattr command prints on standard
output the first matching value found for attr_name in
the user_attr(5),
prof_attr(5) and
policy.conf(5) databases
(searched in that order) for user. If
user is omitted, then the real UID of the invoking
user is used.
The following options are supported:
-vThe following operands are supported:
Example 1 Retrieving the audit_flags attribute for user student1:
% userattr audit_flags student1 ex,pc:lo
Example 2 Retrieving the auths attribute for user student1 with the verbose option:
% userattr -v auths student1 Basic Solaris User : solaris.profmgr.read,solaris.mail.mailq
The command line interface of userattr is
Committed.
The output of userattr is
Not-An-Interface
and may change at any time.
auths(1), profiles(1), policy.conf(5), prof_attr(5), user_attr(5), rbac(7)
| August 8, 2026 | OmniOS |