Safeguard Reference Manual (G06.24+, H06.03+ )

Disk-File Security Commands
Safeguard Reference Manual520618-013
8-28
ALTER DISKFILE-PATTERN Command
Now the users who have user IDs 86,8 and 86,10 can read, write, and execute this
file, and user PRS.DARLENE cannot write, execute, or purge the file. The ACL
entry for group 86 is changed so that members of group 86 no longer have
EXECUTE authority for the file.
2. The super ID uses this command to alter authorization records for all files on the
volume $DATA that have either the PROGID or LICENSE attribute set ON. The
Safeguard authorization records specify auditing for all attempts to access or
manage these files.
=ALTER DISKFILE $data1.*.*, AUDIT ALL &
=WHERE (PROGID OR LICENSE)
3. This example sets WARNING-MODE to OFF in files where WARNING-MODE is
ON in the $data.lawsuit subvolume.
=ALTER DISKFILE $data.lawsuit.*, WARNING-MODE OFF WHERE &
=WARNING-MODE
ALTER DISKFILE-PATTERN Command
ALTER DISKFILE-PATTERN changes one or more diskfile-pattern attribute values in
an existing diskfile-pattern authorization record. The primary owner of a pattern, the
primary owner’s group manager, the local super ID, and any user with OWNER
authority on the ACL can change a pattern authorization record.
Except for the ACCESS attribute, new attribute values specified in an ALTER
DISKFILE command replace the existing attribute value with the specified value. Using
ALTER DISKFILE to specify a new ACCESS access-spec adds the new access-
spec to the existing ACL. To remove authorities previously granted to users, use the
minus-sign (-) form of access-spec.
pattern-spec-list
shall be the same as the corresponding non-pattern object types. That is, a
PATTERN-SPEC-LIST is a comma separated list of one or more PATTERN-SPEC
attributes. ( pattern-spec [ , pattern-spec ] . . . )
ALL
instructs SAFEGUARD to use all the wildcard characters as a part of a search
string, not as part of the pattern.
LIKE pattern-spec
adopts the existing attribute values of pattern-spec as the pattern-
attribute values to be used for the authorization record or records being added.
ALTER DISKFILE-PATTERN pattern-spec-list [ , ][ ALL ]
[ WHERE option-list ] [ , ]
[ LIKE pattern-spec | pattern-attribute ]
[ , pattern-attribute ] ...