Q

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; 

   USER  PASSWORD 
   ----- --------- 
   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 first published in July 2002

Dig deeper on Oracle database design and architecture

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:

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close