Difference between revisions of "System Maintenance Tricks"

From VaxHaven
Jump to navigation Jump to search
Line 1: Line 1:
== Changing Default DCL Prompt ==
+
== Change Default DCL Prompt ==
  
 
<pre>
 
<pre>
Line 12: Line 12:
 
$ SET DEFAULT SYS$SYSTEM
 
$ SET DEFAULT SYS$SYSTEM
 
$ RUN AUTHORIZE
 
$ RUN AUTHORIZE
UAF> MODIFY SYSTEM /PWDLIFETIME=NONE
+
UAF> MODIFY username /PWDLIFETIME=NONE
UAF> MODIFY SYSTEM /PASSWORD=newpassword
+
UAF> MODIFY username /PASSWORD=newpassword
 
UAF> EXIT
 
UAF> EXIT
 
$
 
$
 
</pre>
 
</pre>

Revision as of 18:37, 18 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
$