Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: Database Administration >> forgot password of sys

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: forgot password of sys
 Neeraj  Posted: Dec 26, 2007 05:27:24 AM

 Total Post: 228
 Joined: Jan, 2007






 hi,
i hav created a small database,i forgot the password of sys & system.
i changed the password of both,
so tell how to change their old password or how to get that old password back.

 Babu
Posted: Dec 26, 2007 06:49:24 AM  

 Total Post: 86
 Joined: Oct, 2007






 

If your oracle version is 10g then try

C:\>set oracle_sid=devdb

C:\>sqlplus "/as sysdba"

SQL*Plus: Release 10.2.0.3.0 - Production on Wed Dec 26 17:20:45 2007

Copyright (c) 1982, 2006, Oracle. All Rights Reserved.


Connected to:
Oracle Database 10g Release 10.2.0.3.0 - Production

SQL>

OR

You need to change your SYS password. Create one new password file.

Babu

 Neeraj
Posted: Dec 26, 2007 07:07:17 AM  

 Total Post: 228
 Joined: Jan, 2007






 
i m not been able to conn sys as sysdba, it ask for password that i dont hav so how to change it.
how make password file

 Babu
Posted: Dec 26, 2007 07:27:16 AM  

 Total Post: 86
 Joined: Oct, 2007






 
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96521/dba.htm#1207

 Mohammed Taj
Posted: Dec 26, 2007 07:32:32 AM  

 Total Post: 694
 Joined: Jul, 2007






 
As Babu Said,
you can create new password file or you can connect without password with sys user.
for this your OS user is member of ORA_DBA group or sql.authentication_services=NONE in sqlnet.ora file.



 MOH_DBA
Posted: Dec 27, 2007 02:23:05 PM  

 Total Post: 123
 Joined: Nov, 2007






 
you can change your sys password by connecting using OS Authontication. which means.
if your OS user a memeber of DBA group you can do so.

export OR set ORACLE_SID=your_database_sid
export OR set ORACLE_HOME=your_oracle_home

sqlplus /nolog

conn /as sysdba

alter user sys identifed by your_new_password.

 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar814
  Mohammed Taj694
  Jayanta Sur479
  Vigyan Kaushik386
  positive fanatic361
  Gitesh Trivedi322
  Gopu Gopi239
  neeraj sharma228
  Ramesh Jois226
  snehalatha p169






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software