Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: SYS vs SYSTEM

Re: SYS vs SYSTEM

From: Rachel Carmichael <carmichr_at_hotmail.com>
Date: Fri, 15 Jun 2001 05:25:08 -0700
Message-ID: <F001.0032B1D1.20010615050056@fatcity.com>

it makes absolute sense. And if the developers refuse to understand it, liken it to running things as root on a Unix box. Too easy to inadvertently do major damage.

to make their lives easier (and therefore your own), why not create synonyms for the SYS.xxxxx calls you want them to make so that the scripts will run whether or not they are logged in as SYS. I've found that when you don't ask someone to change existing code to conform to new standards, it's easier to get them to use the new procedure.

>From: "Guy Hammond" <guy.hammond_at_avt.co.uk>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: SYS vs SYSTEM
>Date: Fri, 15 Jun 2001 01:55:43 -0800
>
>Hi all,
>
>I generally use SYSTEM rather than SYS for DBA work, and would like to
>discourage the use of SYS as much as possible. Partly because it
>bypasses auditing and the profile, and also because I tend to regard SYS
>as being for Oracle-specific things (like running scripts from
>$ORACLE_HOME/rdbms/admin) and SYSTEM for doing the day-to-day tasks
>(like administering storage, performance monitoring etc).
>
>Does this reasoning make sense? And, what would be a good way to explain
>it to developers who've gotten used to writing app installation scripts
>than run as SYS (for example, they might refer to AQ$_AGENT rather than
>SYS.AQ$_AGENT)?
>
>Thanks,
>
>g.
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Guy Hammond
> INET: guy.hammond_at_avt.co.uk
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (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).



Get your FREE download of MSN Explorer at http://explorer.msn.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rachel Carmichael
  INET: carmichr_at_hotmail.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (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).
Received on Fri Jun 15 2001 - 07:25:08 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US