Operating System - OpenVMS
1748074 Members
5153 Online
108758 Solutions
New Discussion юеВ

Re: 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 2
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!