Reset Oracle SYS password

I have list my SYS password in Oracle and I need to recover the SYS password, or at least restore the password.  How can I recover my lost SYS password?

sqlplus /nolog
connect / as sysdba
ALTER USER sys IDENTIFIED BY “new_password”;

demo :

[oracle@mezon01 ~]$ . profile_db_PDEV
[oracle@mezon01 ~]$ sqlplus /nolog

SQL*Plus: Release 11.2.0.4.0 Production on Fri Jun 1 17:19:52 2018

Copyright (c) 1982, 2013, Oracle. All rights reserved.

SQL> connect / as sysdba
Connected.
SQL> ALTER USER sys IDENTIFIED BY System_2018;

User altered.

SQL>
SQL>
SQL>
SQL> exit

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s