swacl.1m (2012 03)

s
swacl(1M) swacl(1M)
0 The default_realm successfully updated.
1 The update operation failed.
DIAGNOSTICS
The
swacl command writes to stdout, stderr, and to the daemon logfile. The
swfixrealm command
writes to stdout, stderr, and to a logfile at:
/var/adm/sw/swfixrealm.log
.
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.
swagentd Disabled
If the
swagentd daemon has been disabled on the host, it can be enabled by the host’s system adminis-
trator by setting the SW_ENABLE_SWAGENTD
entry in /etc/rc.config.d/swconfig to 1
and exe-
cuting
/usr/sbin/swagentd -r
.
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
# Realm= newdist.fc.hp.com
#
# default_realm=newdist.fc.hp.com
object_owner:crwit
user:rob@lehi.fc.hp.com:-r--t
user:barb:-r--t
user:ramon:-r--t
group:swadm:crwit
other:-r--t
HP-UX 11i Version 3: March 2012 9 Hewlett-Packard Company 9