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.")
 
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 SYSTEM /PWDLIFETIME=NONE
 +
UAF> MODIFY SYSTEM /PASSWORD=newpassword
 +
UAF> EXIT
 +
$
 +
</pre>

Revision as of 17:44, 18 February 2013

Changing 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 SYSTEM /PWDLIFETIME=NONE
UAF> MODIFY SYSTEM /PASSWORD=newpassword
UAF> EXIT
$