To change "oc4jadmin" user's password from the command line, jazn.jar utility is used. This utility is available at $ORACLE_HOME/j2ee/home.
Steps:
1. cd $ORACLE_HOME/j2ee/home
2. export PATH=$ORACLE_HOME/jdk/bin/:$PATH
3. java –jar jazn.jar –setpassword jazn.com oc4jadmin <old_pwd> <new_pwd>
Once password is set it needs to be verfied.
java -jar jazn.jar -checkpasswd jazn.com oc4jadmin -pw <new_pwd>
If password is set as <new_pwd> then you will get message as "Successful verification of user/password pair." else you will get message "Unsuccessful verification of user/password pair.".
HTH,
Shantanu
No comments:
Post a Comment