| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: SYSDBA access (newbie)
Paul Brewer wrote:
> "Frank" <fvanbortel_at_netscape.net> wrote in message > news:3ECBD8CE.9050102_at_netscape.net... >
> with >
> backup, >>>>For [at least] one very good reason: anything granted by SYS, anything
>>>recover, create database) can only be done by SYS.
>>>
>>>And that's the way it should stay. SYSTEM should not ever be granted
>>>privileged action status.
>>>
> logging >
> SYSDBA to >
> then >
> insane >>>>>>I have installed this Oracle version to an other PC too, and there I
>>>to go for it.
>>>
>>>Use SYS to do startups and shutdowns (etc). And use SYSTEM for all other
>>>day-to-day database management. Use the accounts in the way they were
>>>designed... because they were designed that way for a reason.
>>>
>>>Regards
>>>HJR
>>>
>>>
>>>
>>>"Chief" <chiefgecko_at_mail.com> wrote in message
>>>news:71497b46.0305191323.62ef5e80_at_posting.google.com...
>>>
>>>
>>>>"John M" <bali1a_at_freemail.hu> wrote in message
>>>
>>>news:<bt9ya.7750$FJ4.81567_at_news.chello.at>...
>>>
>>>
>>>>>Hello,
>>>>>
>>>>>I have just installed an Oracle 8i. I want to use DBA Studio to connect
>>>>
>>>to
>>>
>>>
>>>>>my DB. I want to login as SYSDBA with the default system/manager login.
>>>>
>>>But
>>>
>>>
>>>>>I become a message:
>>>>>ORA-01031: insufficient privileges.
> can >>>>
>>>>>login.
>>>>>
>>>>>What can be the problem?
>>>>>
>>>>>Thanks!
>>>>
>>>>Connect to the 'sys' username using
>>>>sqlplus "/ as sysdba"
>>>>or
>>>>using DBA Studio connect to SYS using password with the "AS SYSDBA"
>>>>option.
>>>>
>>>>Then...
>>>>
>>>>execute the sql: GRANT SYSDBA TO SYSTEM
>>>>If this succeeds, then connect to the SYSTEM username using the "AS
>>>>SYSDBA" option. If you still get ORA-01031 post a reply and someone
>>>>can talk you through creating a password file and/or setting a
>>>>init.ora param.
>>>>
>>>>Ciao, Tim...
>>>
> > Well, I don't want to start a war here, but I'm not sure I entirely agree. > > Whilst I concur entirely with the idea of not granting sysdba to system, and > I completely agree with Howard about OS-authenticated 'sys as sysdba' for > starting and stopping, I'm not sure I'm convinced that the system account > should be for day-to-day use. >
As the granting of sysdba was the subject of my thread, I should have elaborated. Howard pointed out the dangers of such action, whilst I merely commented that is not considered a good idea.
As to dropping DBA and other oracle default roles, that has been the subject of a thread some time ago. It was stated (HJR, iirc) that these roles should be deleted as soon as the database was created, and only those system privileges granted to users that are needed.
-- Regards, Frank van BortelReceived on Thu May 22 2003 - 14:26:08 CDT
![]() |
![]() |