Software Distributor Administration Guide (March 2009)

Table Of Contents
# swacl -l depot -M host:*:r
# swacl -l product -M host:*:r \*
# swacl -l global_product_template -M host:*:r
To allow all hosts on domain fc.hp.com read permission:
# swacl -l depot -M host:*.fc.hp.com:r
# swacl -l product -M host:*.fc.hp.com:r \*
# swacl -l global_product_template -M host:*.fc.hp.com:r
NOTE: "*" and "?" wildcards are allowed anywhere in the hostname for host ACL
type.
9.3.6 Temporarily Restricting Access
A simple method of restricting access to anyone other than the local superuser without
modifying ACLs is to unregister the depot.
swreg -u -l depot [@ depot]
It can then be reregistered later:
swreg -l depot [@ depot]
9.3.7 Closing the SD-UX Network
The SD-UX secret is used as evidence of trustworthiness for the callers credentials. It
is a password that SD-UX uses to check the authenticity of the callers host. The default
secret field is set by manufacturing to match the default setting on the HP-UX controller.
All secrets (i.e., controller, targets, and depots) must be identical.
NOTE: Do not change the default secret field unless you have also changed the default
secret on the HP-UX SD-UX controller. These two secrets must match.
The set of hosts that can be managed by SD-UX can be restricted by changing the default
secret on all SD-UX controller and target hosts in the network. The default secret is
found in /var/adm/sw/security/secrets.
You may change the default secret found in this file:
default new secret
For additional information, see “Security Between Hosts: The Shared Secrets File ”
(page 207).
9.3.8 Editing an ACL
The swacl command, when invoked without the -M, -D, or -F options, reads the
specified ACL, converts it into plain text and prints it to stdout. The output of the
command can also be redirected to a file, which can then be printed or edited. After
editing, you can use the -F file option described above to replace the entire old ACL.
This procedure gives you full ACL editing capabilities.
9.3 Basic Security Tasks 193