Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Password management for captive accounts

SOLVED
Go to solution
Highlighted
Nicolau Roca
Advisor

Password management for captive accounts

Hello

How can the owner of a captive account change his password?

I'm trying something like this in the login command procedure (LGICMD)

$ if f$mode() .nes. "INTERACTIVE" then $logout
$ read/prompt="Option: " sys$command option
$ if option.eqs."1"
$ then
$ set password
$ logout
$ else
$ logout
$ endif

but "set password" doesn't work in command mode :(

What am I missing?
2 REPLIES
Heinz W Genhart
Honored Contributor
Solution

Re: Password management for captive accounts

Hi Nicolau

Its working, when you do the following:

$ DEFINE/USER SYS$INPUT SYS$COMMAND
$ SET PASSWORD

Hope that helps

Regards

Heinz
Nicolau Roca
Advisor

Re: Password management for captive accounts

Thank you Heinz, that's what I was missing!