Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I'm very new to VMS and need to know how to change a users password. The user has forgotten his current password. I have the operator login.

$ SET DEFAULT SYS$SYSTEM
$ MC AUTHORIZE
UAF> MODIFY username /PASSWORD=newpass /PWDEXPIRED
But you need more than OPER privilege to do
this.

Take response number 2. We are talking about a users paswword. That runs by the SYSUAF file. The last qualifier will force the user to change the password once he enters the system.

I loged as a admin, now I want to change the password of a user. If I want to create a new user. How can I create it. If I want to change the password of a user in the Linux server. How can I change it.

The following is a utility that was written by my predesor and works very well.
It is a one button tool that makes the
1. make entry in login.com of operator console$ DEFINE/KEY/NOLOG/TERMINATE/NOECHO PF2 "@sys$system:CUPS"
Note:one line
this modifies the "/" key on the numberical key pad which becomes the PF2 key when you run a VMS emulator.
Set def sys$sys$systemCreate file CUPS.COM (this is Change User Passwords)
and cut and past the listing below.It will prompt for what the user's login is
then prompt for a password
Then executes the command you do not have to enter authorize (very dangereous because of VMS will corrupt the file if two people are in authorize at the same time).$ TYPE/PAGE NL:
$ SET DEFAULT SYS$SYSTEM
$ WRITE SYS$OUTPUT "Changing UAF record password"
$ WRITE SYS$OUTPUT ""
$ READ/PROMPT="Enter Username: " SYS$COMMAND USERNAME
$ SET TERMINAL/NOECHO
$ READ/PROMPT="Enter Password: " SYS$COMMAND PASSWORD
$ MCR AUTHORIZE MODIFY 'USERNAME' /PASSWORD='PASSWORD'/FLAGS=DISPWDHIS/NOPWDEXP
$ SET DEFAULT SYS$LOGIN
$ SET TERMINAL/ECHO
$ EXIT

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |