Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to keep "root" out?

RE: How to keep "root" out?

From: Saira Somani-Mendelin <>
Date: Thu, 28 Aug 2003 09:19:27 -0800
Message-ID: <>

Can't root user change any file on the system regardless of the file owner? If the SA doesn't know about this line of code or about oraenv, then it will work for a while.  

I think.  


-----Original Message-----
Mladen Gogala
Sent: August 28, 2003 1:04 PM
To: Multiple recipients of list ORACLE-L  

Put the following code snippet  

"if [ "$LOGNAME" = "root" ];

    then init 0

in your oraenv. I guarantee you that the SA will no longer be connecting as SYSDBA.    

Mladen Gogala
Oracle DBA 
-----Original Message-----
Walter K
Sent: Thursday, August 28, 2003 11:34 AM
To: Multiple recipients of list ORACLE-L
Just for grins, I'll ask this question... Is there any way to keep the
Unix "root" user from logging into the database (i.e. connect internal
or / as sysdba)? Currently using on Solaris 8 here.
We have a couple people in our Unix admin group that feel the need to

"help" by writing their own DB monitoring scripts. Of course, they don't
know what they're talking about. They do not have formal logins for the database, but since they are root users they are connecting via "connect internal". This is not only counterproductive but actually a potential security issue--just because someone has root doesn't necessarily entitle them to see the data in the database. What if it is a payroll database? So, I'm curious, is there any way to prevent access via "connect internal" or "/ as sysdba"? Thanks in advance. W -- Please see the official ORACLE-L FAQ: -- Author: Saira Somani-Mendelin INET: Fat City Network Services -- 858-538-5051 San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: (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 Thu Aug 28 2003 - 12:19:27 CDT

Original text of this message