Contents - Index


 

Use SecAlter to alter the attributes of a security record.

 

SecAlter may also be entered as SecAlt[er], AlterS[ec], or AltS[ec].

 

Required Operands

 

DIR is the directory name.

 

USER is the user ID.  Specify $DFL for the default record which determines access for users who do not have a specific record for the directory.

 

Optional Operands

 

SEC specifies the access level.  Specify NULL, EXEC, LIST, EDIT, DEF, DEFL, or DEFS.  NULL is the access that would be achieved if there were no applicable security record.  You may need to create a NULL record if a specific user is not to have the access level which would otherwise be provided by the $DFL record for the directory.

 

If SEC is not specified, a dialog will be created which displays the existing SEC value and allows the value to be altered by overtyping.

 

Use the SecDefine command to create directory/user security records and the SecDelete command to delete them.

 

If directory/user security is altered while the user in question is logged on and attached to the directory in question, the new security level won't take effect until the user reattaches to the directory or logs off and logs back on.

 

When Valid

 

The user must have DEFS access level for the directory prefix of the DIR directory (the part of the directory name preceding an imbedded period).  If DIR has no prefix, the user must have system-wide DEFS access.

 

Return Codes

 

OK Successful.

NF Security record not found.

SC Inadequate access level.

 

Examples

 

Alter the security definition for directory "TROI" for user "GJB" such that files within the "TROI" directory can be edited, but not defined, altered, or purged:

 

   => alts troi,gjb,edit