When execute change-admin-password sub-command at the DAS was running, new password was setted
even a wrong original password entered.
It is similar to http://java.net/jira/browse/GLASSFISH-15783.
However, it can be reproduced in the latest version of GFv4.
STEP1.Start the DAS.
STEP2.Excute the change-admin-password sub-command to change the password.
Enter admin user name [default: admin]>admin/[Enetr Button]
Enter admin password>[Any string]
Enter new admin password>[new psw]
Enter new admin password again>[new psw]
Command change-admin-password executed successfully.
NOTE: The pwd has changed to [new psw].Use user:admin/pwd:[new psw] can login successfully.
Enter admin user name [Enter to accept default]>admin
Enter admin password>[new psw]
Admin login information for host [localhost] and port  is being overwritten with credentials p
rovided. This is because the --savelogin option was used during create-domain command.
Login information relevant to admin user name [admin] for host [localhost] and admin port  sto
red at [C:\Documents and Settings\Administrator\.gfclient\pass] successfully.
Make sure that this file remains protected. Information stored in this file will be used by asadmin
commands to manage associated domain.
Command login executed successfully.
2 gf's trunk until 2012/09/12