SET SECURITY
vs
SET PROTECTION 


Jeff

VMS "HELP" tells me that "SET PROTECTION" has been superceded by the "SET SECURITY" command. (We just transitioned from version 5 to version 7.) So, now instead of :

$SET PROT=(W:RE) FOO.TXT

I should say:

$SET SECURITY/PROT=(W:RE) FOO.TXT

to be up-to-date. However, in my LOGIN.COM I have the command:

$SET PROT=(W:RE)/DEFAULT

and I can't seem to think in just the right way (nor can I read the help just the right way) to suggest what the command should be. When I try:

$SET PROT=(W:RE)/DEFAULT

I am prompted for _Object: and I'm at a loss for the proper response.

Please advise.

Donald McEntee
Email :
mcentee@erols.com

Donald ...

Since many things in VMS have protections, they combined them into one SET SECURITY command. In your case the object is "SECURITY_CLASS", or more simply :

$SET SECURITY/PROT=(W:RE)
      /CLASS=SECURITY_CLASS-
      /PROFILE=TEMPLATE=DEFAULT-
      SECURITY_CLASS

Best of luck!

Jeff Cameron

 


Send me your question. 


 

My Home Page | VMS Home

DCL | Utilities | Management | Tips

FORTRAN | Pascal

eMail Questions

Quiz?