RE: Permissions issue for SYS connect as sysdba on Windows 2000 S erver?

RE: Permissions issue for SYS connect as sysdba on Windows 2000 S erver?

 

  

Have you tried adding yourself directly to the DBA Group?

Scott D. Adams
Database Administrator
FORSCOM, G6
scott.[Email address protected]
(404) 464-5833
DSN 367-5833
-----Original Message-----
From: Chris Wrigley
[mailto:oracledba-ezmlmshield-x77475851.[Email address protected]
Sent: Wednesday, August 31, 2005 6:31 AM
To: LazyDBA Discussion
Subject: Re: Permissions issue for SYS connect as sysdba on Windows 2000
Server?

Sorry, this still does not resolve this problem.

I tried without the quotes and had the same problem, insufficient
privileges.
As someone else privately suggested, I tried exporting the SID (using "set"
as we're in windows here), but no cookie.

Anyone have any other ideas? I'm out of options here!

Thanks for any help.

>>> "Chris Wrigley " <oracledba-ezmlmshield-x99032990.[Email address
protected] 30/08/2005 12:26 >>>
Can any of you bright sparks help me out with this legacy database I've just
acquired.

Some background:
1. It's on a Windows2000 Server.
2. I am a member of the Administrators Group (has control over ORA_DBA
group)
3. I am connecting via Proxy Master.

So I open up SQLplus on the server (from Proxy Master), knowing that I'm an
Admin and should be able to connect ok...

SQL> connect sys/foopwrd
Connected.
SQL> connect 'sys/foopwrd as sysdba'
Enter password:
Enter password:
ERROR:
ORA-01005: null password given; logon denied


Warning: You are no longer connected to ORACLE.


--- Huh? It's asking me for a password? But I'm in the administrators group
on Win2000!!


SQL> connect sys/foopwrd
Connected.
SQL> show parameter password;

NAME TYPE VALUE
------------------------------------ ------- ----------
remote_login_passwordfile string SHARED
SQL> select * from v$pwfile_users;

USERNAME SYSDB SYSOP
------------------------------ ----- -----
INTERNAL TRUE TRUE
SYS TRUE TRUE

SQL> connect internal
Enter password: ********
Connected.
SQL>


Okay, so I'm lucky I can connect as internal because the "DBA" left the
password something simple, even though I should be able to connect as
internal without a password, right?

My problem is, I *cannot* recreate the password file because the application
software connects internally to the DB.

My question: How can I reset SYS to connect as sysdba without:
1. recreating the password file.
2. changing from "shared" to "exclusive"

Thanks to any bright person who can help me out here.

Chris.


---------------------------------------------------------------------------
This email and any attachment(s) is intended for and confidential to the
addressee. If you are neither the addressee nor an authorised recipient
for the addressee please notify us of receipt, delete this message from
your system and do not use, copy or disseminate the information in, or
attached to it, in any way.

Our messages are checked for viruses but please note that we do not accept
liability for any viruses which may be transmitted in or with this message.
---------------------------------------------------------------------------
The College of Law of England and Wales. Registered charity No 271297
---------------------------------------------------------------------------


--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these
terms:http://www.lazydba.com/legal.html

Oracle LazyDBA home page