Password management for captive accounts (87 Views)
Reply
Advisor
Nicolau Roca
Posts: 22
Registered: ‎06-09-2005
Message 1 of 3 (87 Views)
Accepted Solution

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?
Honored Contributor
Heinz W Genhart
Posts: 422
Registered: ‎11-03-2005
Message 2 of 3 (87 Views)

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
Advisor
Nicolau Roca
Posts: 22
Registered: ‎06-09-2005
Message 3 of 3 (87 Views)

Re: Password management for captive accounts

Thank you Heinz, that's what I was missing!
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.