ALTSEC

You want to copy the ACD associated with LDEV 5 to all devices in device class TERM:

ALTSEC TERM,DEVCLASS;COPYACD=5,LDEV

ACDs may be copied only bet ween objects of the same t ype.

You want to grant users in account ACCT all access to directory Mydir1 :

ALTSEC ./Mydir1;ADDPAIR=(CD,DD,RD,TD,RACD:@.ACCT)

You want to grant read and write access to y ourself and read access for other members of your group to an HFS syn tax ￿le named a_file_of_Mine :

ALTSEC ./a_file_of_Mine;REPPAIR=(RACD,R,W:$OWNER;

RACD,R:$GROUP,$GROUP_MASK;NONE:@.@)

To add a new ACD to ￿le PROGNAME allowing all users on the system to execute it, but only users in accoun t ACCT to write to it enter:

ALTSEC PROGNAME;NEWACD=(X:@.@;W,X:@.ACCT)

To add a new ACD pair to an ACD which already exists for ￿le PROGNAME which will allow the user ENGR of the LAB account to read, write, loc k, append, execute and read the A CD information enter:

ALTSEC PROGNAME;ADDPAIR=(R,W,X,RACD:ENGR.LAB)

Note that L and A (loc k and append) need not be speci￿ed because they are implied with W (write).

To add an ACD that prevents any user except OPERATOR.SYS (and any user with SM capabilit y) from accessing LDEV 7 (a tape driv e), enter:

ALTSEC 7,LDEV;NEWACD=(R,W:OPERATOR.SYS)

Note in the last example that X is not used because it mak es no sense to execute a tape drive. It also mak es no sense to lock or append a tape drive but W tacitly provides L and A anyway.

To eliminate any ACD that may be in e￿ect for device class LP , and to prevent any user except MGR of the FINANCE accoun t from writing to a prin ter in device class LP, enter:

ALTSEC LP,DEVCLASS;DELACD

ALTSEC LP,DEVCLASS;NEWACD=(W:MGR.FINANCE)

2-32 MPE/iX Commands