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 last published in December 2005

Dig Deeper on Oracle database backup and recovery

PRO+

Content

Find more PRO+ content and other member only offers, here.

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.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close