In addition to what Dennis said:
if Orace init parameter O7_DICTIONARY_ACCESSIBILITY = FALSE (the default in 9.0 and 
9.2)
then to connect as user SYS you need to specify the connect string like this:
connect SYS/password AS SYSDBA

The reason the user SYS is more protected than the user SYSTEM is because:
a) the user SYS is the owner of the data dictionary - the set of tables that are used 
by Oracle to store internal information about the objects in the database;
b) the user SYS is the one you use for tasks such as starting up or shutting down the 
database.

SYSTEM is s DBA user created along with the database.

In general, you should do the following:
only sign on as SYS to startup and shutdown the database, or for recovery.
create another DBA user and sign on as that other user for any DBA tasks.
I hardly ever use the SYSTEM account except for creation of some Oracle-related 
objects (like a public PLAN_TABLE or the PRODUCT_USER_PROFILE table.)

> -----Original Message-----
> From: Don Yu [mailto:[EMAIL PROTECTED]
> Sent: vendredi, 11. juillet 2003 13:49
> To: Multiple recipients of list ORACLE-L
> Subject: Re: Oracle security question
> 
> 
> Dennis:
> 
> Thanks for your message. Now I have changed sys password by 
> the following
> command:
> alter user sys identified by xxxxxxx
> But when I try to login from sql plus window by using sys, I 
> cannot successfully
> login. Also I get an error message. The message is something 
> like "connection to
> sys should be as sysdba or sysoper". So my question is what sys for?
> Thank you very much!
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jacques Kilchoer
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to