Solution for Oracle 11g forgetting SYS and SYSTEM passwords

Source: Internet
Author: User

Solution for Oracle 11g forgetting SYS and SYSTEM passwords

Oracle 11g forgets the SYS and SYSTEM passwords. The answer is simple: change the password!

1. First, log on to the SYS account using the operating SYSTEM authentication method and change the SYSTEM account password.

$ Sqlplus/as sysdba

SQL * Plus: Release 11.2.0.4.0 Production ction on Fri Mar 20 14:23:41 2015

Copyright (c) 1982,201 3, Oracle. All rights reserved.


Connected:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0-64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
 
SQL> show user;
USER is "SYS"
SQL> alter user SYSTEM identified by "oracle123 ";
 
User altered.
 

SQL> exit

2. Use SQLPLUS to log on to the SYSTEM account remotely and change the SYS account password.


$ Sqlplus SYSTEM @ orcl

SQL * Plus: Release 11.2.0.4.0 Production ction on Fri Mar 20 14:22:35 2015

Copyright (c) 1982,201 3, Oracle. All rights reserved.

Enter password:

Connected:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0-64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
 
SQL> show user;
USER is "SYSTEM"
SQL> alter user SYS identified by "Oracle123 ";
 
User altered.

SQL> exit

At this point, we are done. log on to the Apsara stack console using remote logon ~

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.