File Utility Programming (FUP) Reference Manual

FUP Commands
File Utility Program (FUP) Reference Manual523323-015
2-176
SECURE Examples
CLEARONPURGE option:
Warning: DISKFILE FLAB OWNER IS CHANGED TO MATCH
PROTECTION RECORD OWNER.
SECURE Examples
To change the security for MYFILE (a file in the current default subvolume) to let
any local user read the file (but only the owner can write, execute, or purge the
file):
-SECURE MYFILE, "AOOO"
To make the same change, but use the numeric notation to designate the security:
-SECURE MYFILE, %0222
To change the security for MYFILE to let any local or remote user read the file, but
keep all the remaining security attributes:
-SECURE MYFILE, N???
To secure MYPROG, permit only the owner to read, write, and purge it (although
any local user can execute it), and set the PROGID bit so the owner ID of
MYPROG is used as the process accessor ID when the program is run:
-SECURE MYPROG, OOAO, PROGID
To set the network security for the file $OFFICE.BILLS.PAPER so any local or
remote user can read the file, only the local group members can execute the file,
and only the local owner can write or purge the file:
-SECURE $OFFICE.BILLS.PAPER, NOGO
To resecure all the files owned by WRITE.KIRK with NNNN security:
-SECURE * WHERE OWNER=WRITE.KIRK, NNNN
Commands Related to SECURE
COMMAND Function Page
REVOKE Resets file security and other attributes of a file 2-169