Oracle 10 Gb DBA login Solution

Source: Internet
Author: User

The solution is as follows:
1-From the command prompt, stop isqlplus:
C: \> isqlplusctl stop
2-Assuming that you install oracle under C drive, run the following comands:
C: \> set oracle_home = c: \ oracle \ product \ 10.2.0 \ db_1
C: \> set java_home = % ORACLE_HOME % \ jdk

3-Change directory:
Cd % ORACLE_HOME % \ Solaris \ j2ee \ isqlplus \ application-deployments \ isqlplus

4-Suppose you need to create a new user with user name 'yoyo 'and password 'ch51 *****', run the following command:
% JAVA_HOME % \ bin \ java-Djava. security. properties = % ORACLE_HOME % \ productname \ j2ee \ home \ config \ jazn. security. props-jar % ORACLE_HOME % \ productname \ j2ee \ home \ jazn. jar-user "iSQL * Plus DBA/admin"-password welcome-adduser "iSQL * Plus DBA" yoyo ch51 *****

5-To check that adding this new user was successful, run the following command:
% JAVA_HOME % \ bin \ java-Djava. security. properties = % ORACLE_HOME % \ productname \ j2ee \ home \ config \ jazn. security. props-jar % ORACLE_HOME % \ productname \ j2ee \ home \ jazn. jar-user "iSQL * Plus DBA/admin"-password welcome-listusers "iSQL * Plus DBA"
Result:
Admin
Yoyo
6-To grant a user access to the webDba role from the command line, enter:
% JAVA_HOME % \ bin \ java-Djava. security. properties = % ORACLE_HOME % \ productname \ j2ee \ home \ config \ jazn. security. props-jar % ORACLE_HOME % \ productname \ j2ee \ home \ jazn. jar-user "iSQL * Plus DBA/admin"-password welcome-grantrole webDba "iSQL * Plus DBA" yoyo
7-Now, run start isqlplus again and enjoy it:
Isqlplusctl start
8. access again: http: // hostname: 5560/isqlplus/dba, and give the user name and password: yoyo and ch51 ***** (all in lower case ), you can see the isqlplus logon interface,
Then provide the user name: SYSTEM, password: ch51 *****, connection ID: (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = KCSQLBI) (PORT = 1521) (CONNECT_DATA = (SERVICE_NAME = orcl) with the permission SYSDBA, you can access it.

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.