| United States-English |
|
|
|
![]() |
Managing HP-UX Software With SD-UX: HP 9000 Computers > Chapter 9 Controlling Access to Software ObjectsTask-Specific Permission Requirements |
|
The same permission checks are made as for the swremove operation above, except that this command does not apply to depots. Here are some examples based on the following ACL that is protecting a product (FORTRAN) created by user rob whose local host is lehi.fc.hp.com:
To list the ACL for the product FORTRAN in depot /var/spool/sw (the default depot) and prepare it for editing, type: swacl -l product FORTRAN &>acl_tmp which will bring the above ACL into the file acl_tmp, ready for editing. Edit the acl_tmp file with any suitable text editor. To replace the modified ACL, type: swacl -l product -F acl_tmp FORTRAN To edit the default product template on a depot /var/spool/sw_dev, use: swacl -l product_template @ /var/spool/sw_dev $>tmp_file then edit the tmp_file and replace the ACL: swacl -l product_template -F tmp_file \ To delete user barb's and group swadm's entries: swacl -D user:barb -D group:swadm -l product FORTRAN To give user ramon permission to change the product FORTRAN: swacl -M user:ramon:trw -l product FORTRAN To add an entry for user pam with complete management permission: swacl -M user:pam:a ["a" is shorthand for "crwit"] To add an entry to grant every user in group swadm at remote hosts dewd and stewd full management control of the product FORTRAN on the default local depot: swacl -M group:swadm@dewd:a -M group:swadm@stewd:a \ To list the ACL protecting the default depot at host dewd: swacl -l depot @ dewd |
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||