Difference between revisions of "System Maintenance Tricks"

From VaxHaven
Jump to navigation Jump to search
(Created page with "== Changing Default DCL Prompt == <pre> $ SET PROMPT="''F$GETSYI("NODENAME")' $ " </pre> Put this in SYS$MANAGER:LOGIN.COM to have it executed on every login.")
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Changing Default DCL Prompt ==
+
== Change Default DCL Prompt ==
  
 
<pre>
 
<pre>
Line 6: Line 6:
  
 
Put this in SYS$MANAGER:LOGIN.COM to have it executed on every login.
 
Put this in SYS$MANAGER:LOGIN.COM to have it executed on every login.
 +
 +
== Disable Password Expiration ==
 +
 +
<pre>
 +
$ SET DEFAULT SYS$SYSTEM
 +
$ RUN AUTHORIZE
 +
UAF> MODIFY username /PWDLIFETIME=NONE
 +
UAF> MODIFY username /PASSWORD=newpassword
 +
UAF> EXIT
 +
$
 +
</pre>
 +
== Initialize Drive ==
 +
<pre>
 +
$ INITIALIZE DKA500: SCRATCH /STRUCTURE=5
 +
</pre>
 +
== Mount Drive on Startup ==
 +
Add to the end of SYS$MANAGER:SYSTARTUP_VMS.COM
 +
<pre>
 +
$ MOUNT/SYSTEM DKA500: SCRATCH
 +
</pre>
 +
== ODS-5 Extended File Name Handling ==
 +
In order to allow DCL the ability to manipulate ODS-5 extended file names, you need to enter:
 +
<pre>
 +
$ SET PROCESS /PARSE_STYLE=EXTENDED
 +
</pre>
 +
== Update HECnet node list ==
 +
 +
<pre>
 +
$ @1.13::FIX.COM
 +
</pre>

Latest revision as of 18:55, 25 February 2013

Change Default DCL Prompt

$ SET PROMPT="''F$GETSYI("NODENAME")' $ "

Put this in SYS$MANAGER:LOGIN.COM to have it executed on every login.

Disable Password Expiration

$ SET DEFAULT SYS$SYSTEM
$ RUN AUTHORIZE
UAF> MODIFY username /PWDLIFETIME=NONE
UAF> MODIFY username /PASSWORD=newpassword
UAF> EXIT
$

Initialize Drive

$ INITIALIZE DKA500: SCRATCH /STRUCTURE=5

Mount Drive on Startup

Add to the end of SYS$MANAGER:SYSTARTUP_VMS.COM

$ MOUNT/SYSTEM DKA500: SCRATCH

ODS-5 Extended File Name Handling

In order to allow DCL the ability to manipulate ODS-5 extended file names, you need to enter:

$ SET PROCESS /PARSE_STYLE=EXTENDED

Update HECnet node list

$ @1.13::FIX.COM