Software Distributor Administration Guide for HP-UX 11i
SD-UX Security
The swacl Command
Chapter 9258
The swacl Command
The swacl command lets you view or change ACL entries and
permissions.
swacl Syntax swacl ] -l
level
[-D
acl_entry
|-F
acl_file
|-M
acl_entry
]
[-f
software_ file
][-t
target_ file
]
[-x
option=value
][-X
option_file
]
[
software_selections
][@
target_selection
]
Options and
Operands
-l
level
Level to edit. Level designations are the literals: host,
depot, root, product, product_template,
global_soc_template or global_product_template.
(See “ACL Templates” on page 282 for a complete
discussion.)
NOTE You can change an ACL with -D, -F, or -M command options. You can
only specify one of these options per command because they are mutually
exclusive. If you don’t specify a -D, -F, or -M option, swacl prints the
specified ACLs.
-D
acl_entry
Deletes an existing entry from the ACL associated with
the specified object. You can enter multiple -D options.
-F
acl_file
Assigns the ACL information contained in
acl_file
to
the object. All existing entries are removed and
replaced by the entries in the file. You can enter only
one -F option.
-M
acl_entry
Adds a new ACL entry or changes the permissions of
an existing entry. You can enter multiple -M options.
-f
software file
Reads a list of software selections from a separate file
instead of from the CLI. (See “Software Files” on
page 58.)