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 -> Logging In

Logging In

From: <amerar_at_iwc.net>
Date: Fri, 7 Dec 2007 17:04:52 -0800 (PST)
Message-ID: <58212e58-8852-4701-9cbc-4f561a836456@y5g2000hsf.googlegroups.com>


Hi,

When you log into a server you usually get a list of default environment variables that look like below. Our oracle account does not have a .profile. However, I want to change the default ORACLE_SID when a user logs in.

Does anyone know what file I'd modify? I get entries like below when I log in as any user:

declare -x ORACLE_BASE="/opt/oracle/product"
declare -x ORACLE_HOME="/opt/oracle/product/ora10"
declare -x ORACLE_SID="OR00"
declare -x PATH="/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/
X11R6/bin:/home/oracle/bin"
declare -x PWD="/home/oracle"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_CLIENT="::ffff:205.234.192.162 41110 22"
declare -x SSH_CONNECTION="::ffff:205.234.192.162 41110 ::ffff:
205.234.192.188 22"
declare -x SSH_TTY="/dev/pts/3"
declare -x TERM="xterm"
declare -x USER="oracle"


Thanks!!! Received on Fri Dec 07 2007 - 19:04:52 CST

Original text of this message

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