How to change the "admin" user default password in OWSM Console
1) Go to $ORACLE_HOME/owsm/bin
2) Open below file and edit below parameters same as below :-
bash-3.2$ vi manageUserGroups.properties
user_id=admin
user_name=admin user
user_password=oracle
user_email=admin@admin.com
group_id=su1-grp
group_desc=super user group
3) Delete mapping between admin user and su1-grp with below command :-
bash-3.2$ sh wsmadmin.sh manageUserGroups deleteUserGroup
Buildfile: /u01/app/OAS/10.1.3.1/SOAD1/owsm/bin/../scripts/manageusergroups.xml
set-classpath-oracle:
[echo] Setting Oracle Classpath
manage-del-user-group:
[java] SUCCESS : Mapping between user "admin" and Group "su1-grp" successfully deleted from database.
BUILD SUCCESSFUL
Total time: 1 second
4) Now with the same file , delete user with below command :-
bash-3.2$ sh wsmadmin.sh manageUserGroups deleteUser
uildfile: /u01/app/OAS/10.1.3.1/SOAD1/owsm/bin/../scripts/manageusergroups.xml
set-classpath-oracle:
[echo] Setting Oracle Classpath
manage-del-user:
[java] SUCCESS : User "admin" successfully deleted from database.
BUILD SUCCESSFUL
Total time: 1 second
5) Now again open the manageUserGroups.properties file and add a customized password as given below :-
bash-3.2$ vi manageUserGroups.properties
user_id=admin
user_name=admin user
user_password=xyz123%%
user_email=admin@admin.com
group_id=su1-grp
group_desc=super user group
save the file
6) Now add the user as given below :-
bash-3.2$ sh wsmadmin.sh manageUserGroups addUser
Buildfile: /u01/app/OAS/10.1.3.1/SOAD1/owsm/bin/../scripts/manageusergroups.xml
set-classpath-oracle:
[echo] Setting Oracle Classpath
manage-add-user:
[java] SUCCESS : User "admin" successfully added into database.
BUILD SUCCESSFUL
Total time: 1 second
6) Finally map the user admin to su1-grp (super user) group .
bash-3.2$ sh wsmadmin.sh manageUserGroups addUserGroup
Buildfile: /u01/app/OAS/10.1.3.1/SOAD1/owsm/bin/../scripts/manageusergroups.xml
set-classpath-oracle:
[echo] Setting Oracle Classpath
manage-add-user-group:
[java] SUCCESS : Mapping between user "admin" and group "su1-grp" successfully added into the database.
BUILD SUCCESSFUL
Total time: 1 second
7) Now try with the default password , it will not work but with only customized password.
2) Open below file and edit below parameters same as below :-
bash-3.2$ vi manageUserGroups.properties
user_id=admin
user_name=admin user
user_password=oracle
user_email=admin@admin.com
group_id=su1-grp
group_desc=super user group
3) Delete mapping between admin user and su1-grp with below command :-
bash-3.2$ sh wsmadmin.sh manageUserGroups deleteUserGroup
Buildfile: /u01/app/OAS/10.1.3.1/SOAD1/owsm/bin/../scripts/manageusergroups.xml
set-classpath-oracle:
[echo] Setting Oracle Classpath
manage-del-user-group:
[java] SUCCESS : Mapping between user "admin" and Group "su1-grp" successfully deleted from database.
BUILD SUCCESSFUL
Total time: 1 second
4) Now with the same file , delete user with below command :-
bash-3.2$ sh wsmadmin.sh manageUserGroups deleteUser
uildfile: /u01/app/OAS/10.1.3.1/SOAD1/owsm/bin/../scripts/manageusergroups.xml
set-classpath-oracle:
[echo] Setting Oracle Classpath
manage-del-user:
[java] SUCCESS : User "admin" successfully deleted from database.
BUILD SUCCESSFUL
Total time: 1 second
5) Now again open the manageUserGroups.properties file and add a customized password as given below :-
bash-3.2$ vi manageUserGroups.properties
user_id=admin
user_name=admin user
user_password=xyz123%%
user_email=admin@admin.com
group_id=su1-grp
group_desc=super user group
save the file
6) Now add the user as given below :-
bash-3.2$ sh wsmadmin.sh manageUserGroups addUser
Buildfile: /u01/app/OAS/10.1.3.1/SOAD1/owsm/bin/../scripts/manageusergroups.xml
set-classpath-oracle:
[echo] Setting Oracle Classpath
manage-add-user:
[java] SUCCESS : User "admin" successfully added into database.
BUILD SUCCESSFUL
Total time: 1 second
6) Finally map the user admin to su1-grp (super user) group .
bash-3.2$ sh wsmadmin.sh manageUserGroups addUserGroup
Buildfile: /u01/app/OAS/10.1.3.1/SOAD1/owsm/bin/../scripts/manageusergroups.xml
set-classpath-oracle:
[echo] Setting Oracle Classpath
manage-add-user-group:
[java] SUCCESS : Mapping between user "admin" and group "su1-grp" successfully added into the database.
BUILD SUCCESSFUL
Total time: 1 second
7) Now try with the default password , it will not work but with only customized password.
Comments