Bobby Bissett wrote on 11/ 5/10 01:38 PM:
> Howdy,
>
> Normally I'd just ask asadmin how to do this, but am getting:
>
> hostname% ../bin/asadmin change-admin-password --help
> Can't find man page for command: change-admin-password
> Command change-admin-password failed.
>
> Is there an option to pass a password file to this command? IOW, can it be run non-interactively? Am working on a cluster upgrade dev test, and after unzipping/upgrading/starting the v2 domain I need to change the admin password to "" so it can talk to the instances that are about to be created.
When I rewrote the asadmin framework many months ago, I rewrote this command
and preserved its previous behavior. It always insists on you typing the
passwords interactively. I don't know why. Perhaps to prevent typos?
Perhaps as a security feature?
I guess we should find out what v2 did...
It would be easy enough to allow it to work non-interactively, if that's
what people want.