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

Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle on Linux hints and tips

Re: Oracle on Linux hints and tips

From: Frank van Bortel <fvanbortel_at_netscape.net>
Date: Thu, 08 Apr 2004 21:13:12 +0200
Message-ID: <c54834$4ag$1@news4.tilbu1.nb.home.nl>


Adam Monsen wrote:

> 1. /etc/tnsnames.ora MUST have UNIX line endings. If you see ^M
> characters at the end of every line when you do 'cat -v
> /etc/tnsnames.ora', execute the command 'dos2unix /etc/tnsnames.ora'
> (I've seen sqlplus fail because of this but not issue a warning)
>
> 2. /etc/tnsnames.ora should have permissions set to rw-r--r-- (0755)
> and should be owned by root (I've seen sqlplus fail because of this
> but not issue a warning)
>

root ownership? No - never have seen that:

[oracle_at_csdb01 oracle]$ ls -l /opt/oracle/920/network/admin/tnsnames.ora -rw-r--r-- 1 oracle oinstall 713 Jan 3 15:09 opt/oracle/920/network/admin/tnsnames.ora

I think root ownership will add possibilities for hackers (there _are_ alerts on buffer overflows on Metalink!)

Don't run listener as root, either

-- 

Regards,
Frank van Bortel
Received on Thu Apr 08 2004 - 14:13:12 CDT

Original text of this message

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