ALTSEC

You have created a ￿le named FDATA , and want to change its ￿le access matrix access permissions to gran t write access to only y ourself. Enter:

ALTSEC FDATA;ACCESS=(W:CR)

To change ￿le access permissions for the FPROG program ￿le to allow all group users to execute programs, but only accoun t and group librarian users to read or write to the ￿le, en ter:

ALTSEC FPROG;ACCESS=(X:GU;R,W:AL,GL)

ACD Examples

Note

You can use LISTFILE,-2to view ACD information. This form

 

of the LISTFILE command displays only ACD information.

 

 

You have created a ￿le named FDATA , and want to assign a new A CD to FDATA, granting write access to a user named FRIEND.ACCT . Enter:

ALTSEC FDATA;NEWACD=(W:FRIEND.ACCT)

As the creator of a ￿le, y ou can access the ￿le by default, so y ou don't need to grant yourself access through an A CD. Users with appropriate privileges are always permitted to access ￿les protected b y ACDs.

To extend the ACD for the FDATA ￿le so that all users on the system can read it, and all users within y our account ACCT can also write to it, en ter:

ALTSEC FDATA;ADDPAIR=(R:@.@;W,R:@.ACCT)

If you decide that users outside y our account ACCT should not have read access to the ￿le FDATA any longer, enter:

ALTSEC FDATA;DELPAIR=(@.@)

This does not delete all A CD pairs, only the A CD pair matc hing @.@. To delete the entire ACD, enter:

ALTSEC FDATA;DELACD

To replace the entire ACD, enter:

ALTSEC FDATA;REPACD=(W:FRIEND.ACCT)

MPE/iX Commands 2-31