HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
s
swacl(1M) swacl(1M)
Keys
Expressions (patterns) are not permitted in keys.
A key is required for user, group and host entry types. A key is optional for other entry types, and
specifies the hostname to which the entry applies. Only one other entry type may exist without a key,
and this entry applies to users at the default realm (host) of the ACL.
A hostname in a key is listed in its Internet address format (dot notation) if swacl cannot resolve the
address using the local lookup mechanism (DNS, NIS, or /etc/hosts). A hostname within an ACL entry
must be resolvable when used with the -D and -M options. Unresolvable hostname values are accepted in
files provided with the -F option.
RETURN VALUE
The swacl command returns:
0 The software_selections and/or target_selections were successfully displayed or modified.
1 The display/modify operation failed on all target_selections.
2 The modify/modify operation failed on some target_selections.
DIAGNOSTICS
The swacl command writes to stdout, stderr, and to the daemon logfile.
Standard Output
The swacl command prints ACL information to stdout when the user requests an ACL listing.
Standard Error
The swacl command writes messages for all WARNING and ERROR conditions to stderr. A report that
the software_selections do not exist is also given if the user has
no access permissions to the object.
Logging
The
swacl command does not log summary events. It logs events about each ACL which is modified to
the swagentd logfile associated with each target_selection.
EXAMPLES
To list the ACLs for the
C and OPENVIEW products in depot /var/spool/swtest
:
swacl -l product C OPENVIEW @ /var/spool/swtest
The ACL listed to the standard output is similar to this example ACL:
#
# swacl Product Access Control Lists
#
# For depot: newdist:/var/spool/swtest
#
# Date: Wed May 26 11:14:31 2000
#
#
# For product: OPENVIEW,r=3.2
#
#
# Object Ownership: User= robason
# Group= swadm
# Realm= newdist.fc.hp.com
#
# default_realm=newdist.fc.hp.com
object_owner:crwit
group:swadm:crwit
any_other:-r--t
#
# For product: C,r=9.4
#
#
# Object Ownership: User= robason
# Group= swadm
HP-UX Release 11i: December 2000 8 Section 1M831
___
___