Password management for captive accounts (40 Views)
Reply
Advisor
Nicolau Roca
Posts: 22
Registered: ‎06-09-2005
Message 1 of 3 (40 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?
Please use plain text.
Honored Contributor
Heinz W Genhart
Posts: 422
Registered: ‎11-03-2005
Message 2 of 3 (40 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
Please use plain text.
Advisor
Nicolau Roca
Posts: 22
Registered: ‎06-09-2005
Message 3 of 3 (40 Views)

Re: Password management for captive accounts

Thank you Heinz, that's what I was missing!
Please use plain text.
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