Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Password management for captive accounts

SOLVED
Go to solution
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
Highlighted
Nicolau Roca
Advisor

Re: Password management for captive accounts

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