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:
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.
Dig deeper on Oracle database backup and recovery
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.