Analysis on how Oracle 10g isqlplus uses DBA account

Source: Internet
Author: User

This article mainly introducesOracle 10g isqlplusUseDBA accountNext, we will introduce them one by one.

1. vi. bash_profile

Add Environment Variables

 
 
  1. export JAVA_HOME=$ORACLE_HOME/jdk 

Save and exit.

 
 
  1. source .bash_profile 

2. Switch to the correct directory

 
 
  1. cd $ORACLE_HOME/oc4j/j2ee/isqlplus/application-deployments/isqlplus 

3. Run the JAZN shell.

 
 
  1. $JAVA_HOME/bin/java -Djava.security.properties=$ORACLE_HOME/sqlplus/admin/iplus/provider  
  2.  
  3.  -jar $ORACLE_HOME/oc4j/j2ee/home/jazn.jar  
  4.  
  5.  -user "iSQL*Plus DBA/admin" -password welcome -shell 

Or

 
 
  1. $JAVA_HOME/bin/java -Djava.security.properties=$ORACLE_HOME/oc4j/j2ee/home/config/jazn.security.props   
  2.  
  3. -jar $ORACLE_HOME/oc4j/j2ee/home/jazn.jar   
  4.  
  5. -user "iSQL*Plus DBA/admin" -password welcome -shell 

4. Create a user

 
 
  1. JAZN:> adduser "iSQL*Plus DBA" oracle oracle 

In this example, the user oracle is created and the password is oracle. Syntax:

 
 
  1. adduser "iSQL*Plus DBA" username password 

5. Grant the webDba role to the user

 
 
  1. JAZN:> grantrole webDba "iSQL*Plus DBA" oracle 

6. Exit the JAZN shell.

 
 
  1. JAZN:> exit 

This section describes how to use the DBA account for Oracle 10g isqlplus. We hope this will bring you some benefits!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.