Problem solve Get help with specific problems with your technologies, process and projects.

Determining the "SYS" password

I want to know the password when we are connected as a "sys" in Oracle8i.

It would be great if there were a query such as the following:

   SELECT user,password FROM dual; 

   ----- --------- 
   SYS   change_me 
Unfortunately, while the 'user' psuedo-column exists in the above query, the 'password' psuedo-column does not.

You can query DBA_USERS to see the encrypted forms of everyone's passwords. But the encryption form does not help you. Furthermore, the encryption algorithm that Oracle uses is a one-way hash. This means that there is no way to decrypt the password.

The bottom line is that you cannot find out what a password is once it has been set. The default password for SYS is 'change_on_install'. But it is highly likely that the person who created the database has changed the password to something else (at least I hope so). Your only alternative is to then change the SYS password to something that you know. Anyone with DBA privileges, like INTERNAL or SYSTEM, can change anyone else's password.

For More Information

This was last published in July 2002

Dig Deeper on Oracle database design and architecture

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.