Modify the OracleSYS, SYSTEM password, and authentication password and authentication method

Source: Internet
Author: User
Welcome to the Oracle community forum and interact with 2 million technical staff into SQLselectusername, passwordfromdba_users; USERNAMEPASSWORD------------------------------------------------------------SYS8A8F025737A9097ASYSTEM2D594E86F93B17A1DBSNMPE066D21

Welcome to the Oracle community forum, and interact with 2 million technical staff> go to SQL select username, password from dba_users; USERNAME PASSWORD should receive SYS 8A8F025737A9097A SYSTEM 2D594E86F93B17A1 DBSNMP E066D21

Welcome to the Oracle community forum and interact with 2 million technical staff> enter

SQL> select username, password from dba_users;

USERNAME PASSWORD

------------------------------------------------------------

SYS 8A8F025737A9097A

SYSTEM 2D594E86F93B17A1

DBSNMP E066D214D5421CCC

TOAD A1BA01CF0DD82695

OUTLN 4A3BA55E08595C81

WMSYS 7C9BA362F8314299

You have selected 6 rows.

SQL> connect system/oracle

Connected.

SQL> connect sys/oracle as sysdba

Connected.

Change User system Password to manager

SQL> alter user system identified by manager;

The user has changed.

Unlock a user

SQL> alter user system account unlock;

The user has changed.

SQL> select username, password from dba_users;

USERNAME PASSWORD

------------------------------------------------------------

SYS 8A8F025737A9097A

SYSTEM D4DF7931AB130E37

DBSNMP E066D214D5421CCC

TOAD A1BA01CF0DD82695

OUTLN 4A3BA55E08595C81

WMSYS 7C9BA362F8314299

You have selected 6 rows.

SQL> connect system/manager

Connected.

Then, you can perform any operations you want.

SQL> connect sys/oracle as sysdba

Connected.

Change the user's system password to a previous value.

SQL> alter user system identified by values '2d594e86f93b17a1 ';

The user has changed.

SQL> connect system/oracle

Connected.

SQL> connect sys/oracle as sysdba

Connected.

SQL> connect system/manager

ERROR:

ORA-01017: invalid username/password; logon denied

Warning you are no longer connected to ORACLE

[1] [2]

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.