How to log on to the isqlplus page as sys in Oracle 10g

Source: Internet
Author: User

InLinuxInstalled onOracle 10g In the future, we will often useIsqlplusTo executeSQLStatement. But normalIsqlplusThe logon interface only supports Logon as a common user.SysIdentity permission to perform some operations, then how can weSysIdentity to log onIsqlplusWhat about the page?

(1)SetOracleUser'sJavaEnvironment Variable:(Add a line at the bottom of the file)

  [Oracle @ ocp ~] Vim. bash_profile ---->Export JAVA_HOME = $ ORACLE_HOME/jdk

(2) Execute the following script program:

[Oracle @ ocp ~] Vim JAZN. sh(The content is as follows,\It is a conversion character. Note whether there are spaces in front of it.)

Cd $ ORACLE_HOME/Solaris/j2ee/isqlplus/Solaris/j2ee/isqlplus/application-deployments/isqlplus

$ JAVA_HOME/bin/java-Djava. security. properties= \

$ ORACLE_HOME/Solaris/j2ee/home/config/jazn. security. props\

-Jar $ ORACLE_HOME/Solaris/j2ee/home/jazn. jar\

-User "ISQL*PLus DBA/admin"\(Note:SQL * PIsUppercaseLetter. If the lower-case program fails)

-Password welcome-shell

[Oracle @ ocp ~] Chmod + x JAZN. sh(Grant a documentExecutable permissions)

[Oracle @ ocp ~] ./JAZN. sh

 (3) AddIsqlplusLogged OnDbaUser:ShThe following prompt will appear after the script)

JAZN> Adduser "iSQL * Plus DBA"Websys Oracle(Note:WebsysIs the user name set by yourself,OraclePassword)

(4)WebsysUser authorizationWebDbaAdministrator role:

JAZN>Grantrole webDBa "iSQL * Plus DBA"Websys

JAZN>Exit

(5) LoginIsqlplusManagement Interface:

AEnter the management logon URLHttp://ocp.example.com: 5560/isqlplus/dba

In the dialog box that appears, enter the username you added.WebsysPasswordOracle

B, Will goDbaLogon pageHttp://ocp.example.com: 5560/isqlplus/dba. uix

EnterSysThe user name and password can be"SYSDBA.

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.