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 >> ORA-01031 - insufficient privileges

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: ORA-01031 - insufficient privileges
 suri  Posted: Jul 24, 2007 01:13:12 AM

 Total Post: 20
 Joined: Sep, 2006






 Hello gurus,

I forgotten the sys password. When i logon as sys without giving the password, it is giving an error like ORA-01031 - Insufficient privilieges.

so, How can i logon to the sys user. Please help me to resolve this issue.

with regards,

Suresh.

 ankur
Posted: Jul 24, 2007 07:34:36 AM  

 Total Post: 59
 Joined: Nov, 2006






 
use Orapwd utility to generate a new password for sys.

Usage: orapwd file=<fname> password=<password> entries=<users>

where
file - name of password file (mand),
password - password for SYS and INTERNAL (mand),
entries - maximum number of distinct DBA and OPERs (opt),
There are no spaces around the equal-to (=) character.

 DreamzZ
Posted: Jul 24, 2007 12:50:29 PM  

 Total Post: 23
 Joined: Jul, 2007






 
http://www.orafaq.com/forum/t/85550/105911/

 jogi
Posted: Aug 29, 2007 02:28:53 PM  

 Total Post: 21
 Joined: Jul, 2007






 
remove the password file whic was created by you in the dbs directory.

and o to sqlnet.ora comment the sql.authentication


conn sys as sysdba
password:change_on_install

sql:>sho user;
user is sys



thanks
prasad jogi
9886241382
tooracledba@gmail.com


 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 Khokhar857
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Gopu Gopi335
  Gitesh Trivedi322
  Vinoth Kumar264
  neeraj sharma258
  Ramesh Jois246






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