Q

How to change the Oracle SYS password

Is there a way to change the SYS password? Recently my SYS account crashed. I get either "You are no longer connected to Oracle" or "You have no sufficient privileges" every time I try to log on as SYSDBA.

Is there a way to change the SYS password? I have Oracle 9i installed on my Windows XP system, and recently my SYS account crashed. I get either "You are no longer connected to Oracle" or "You have no sufficient privileges" every time I try to log on as SYSDBA. What is wrong with my database?
You can connect to the database as any account with DBA privileges (like the SYSTEM account) and change the SYS password. Alternatively, sign on to the Windows server as a member of the OSDBA group. Then in a command prompt window, issue the following:
sqlplus /nolog
connect / as sysdba
You are now connected as the SYS user and you can change the password to something you know. The OSDBA group authenticates the SYS user rather than the database in this example.

For more on the SYS password, read Forgot SYS password.

This was first published in December 2005

Dig deeper on Oracle database backup and recovery

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close