reset ias_admin password in AS10g

Q: how i get in if ias_admin password lost?
A: use emctl to reset password and bounce iasconsole.

Example
oracleAS@hostA:OID:~ > id
uid=702(oracleAS) gid=100(users) groups=100(users),501(dba),502(oinstall)

oracleAS@hostA:OID:~ > emctl status iasconsole
TZ set to GMT
Oracle Enterprise Manager 10g Application Server Control Release 10.1.2.2.0
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
http://hostA.top.com:1158/emd/console/aboutApplication
Oracle Enterprise Manager 10g Application Server Control is not running.

oracleAS@hostA:OID:~ > cd $ORACLE_HOME/sysman/j2ee/config/
oracleAS@hostA:OID:/u01/oracleAS/oid/sysman/j2ee/config > cp jazn-data.xml jazn-data.xml.OLD
oracleAS@hostA:OID:/u01/oracleAS/oid/sysman/j2ee/config > vi jazn-data.xml
/*

<user>
<name>ias_admin</name>
<credentials>rSgp85BkhFw8YHgf9ddl0PnFlu9uJPT</credentials> ===>Delete this line
</user>

*/

oracleAS@hostA:OID:/u01/oracleAS/oid/sysman/j2ee/config >  $ORACLE_HOME/bin/emctl set password reset refixoid0728
TZ set to GMT
Oracle Enterprise Manager 10g Application Server Control Release 10.1.2.2.0
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
New password will take effect on the Application Server Console’s next restart.

oracleAS@hostA:OID:/u01/oracleAS/oid/sysman/j2ee/config >  $ORACLE_HOME/bin/emctl start iasconsole
TZ set to GMT
Oracle Enterprise Manager 10g Application Server Control Release 10.1.2.2.0
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
http://hostA.top.com:1158/emd/console/aboutApplication
Starting Oracle Enterprise Manager 10g Application Server Control ….. started successfully.
oracleAS@hostA:OID:/u01/oracleAS/oid/sysman/j2ee/config >

Important Note: It will not change webcache administrator password, however we can use ascontrol to admin anyway.

Advertisements

About Pang

Oracle DBA working in database, fusion middleware and identity management and cloud.
This entry was posted in Oracle Fusion Middleware. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s