Home » RDBMS Server » Server Administration » lose dba password in 9i
lose dba password in 9i [message #58177] Tue, 05 August 2003 10:54 Go to next message
Jadie
Messages: 64
Registered: January 2002
Member
Hi all, I have a question about sys(dba) password. In 8i, if I lost sys password, I can simply login on to the operating system as superuser. Then connect internal as sysdba without password. But in 9i, there is no internal, how can I login onto the database and change the password if I lost it?

Thanks.

Jadie
Re: lose dba password in 9i [message #58178 is a reply to message #58177] Tue, 05 August 2003 12:09 Go to previous messageGo to next message
ora9iDBA
Messages: 31
Registered: March 2003
Member
Hi
You can login to your O/S as oracle user then just simply open sql*plus as

sqlplus "/ as sysdba"

or there is a utility orapwd to change password of sys

check it out
Re: lose dba password in 9i [message #58182 is a reply to message #58178] Tue, 05 August 2003 16:33 Go to previous messageGo to next message
Jadie
Messages: 64
Registered: January 2002
Member
Kishor,

Thanks for the reply. I got the answer:
"SQLPLUS / AS SYSDBA" does not work on Windows 2000. but I can use "SQLPLUS system/password" (or any user) to login on to the database first, then SQLPLUS / AS SYSDBA. Of course I am the OS superuser.

does SQLPLUS / AS SYSDBA works on Solaris or other Unix systems?

Thanks again.
Re: lose dba password in 9i [message #58185 is a reply to message #58182] Tue, 05 August 2003 23:06 Go to previous messageGo to next message
Trifon Anguelov
Messages: 514
Registered: June 2002
Senior Member
Yes, it works just fine.

Make sure you are connected as "oracle" user account, or your OS account is a member of the "dba" OS group.

Hope that helps,

clio_usa
OCP - DBA

Visit our Web site

Re: lose dba password in 9i [message #58188 is a reply to message #58182] Wed, 06 August 2003 02:09 Go to previous messageGo to next message
ora9iDBA
Messages: 31
Registered: March 2003
Member
Hi,
you can also use "/ as sysdba" on windows 2000 prior to that you have to invoke your sql*plus on command line
e.g.

C:> sqlplus "/ as sysdba"
also on unix if you logges as oracle user you can do it

$ sqlplus "/ as sysdba"
Re: lose dba password in 9i [message #58203 is a reply to message #58188] Wed, 06 August 2003 13:01 Go to previous message
Jadie
Messages: 64
Registered: January 2002
Member
Thanks...... It works welll now... I don't know why it didn't work yesterday... Thanks again
Previous Topic: ORA-01013 user requested cancel of current operation,help!!
Next Topic: Akses Table very Slow
Goto Forum:
  


Current Time: Fri Sep 20 12:50:41 CDT 2024