Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 24472 invoked from network); 2 Feb 2007 02:42:32 -0600
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by 69.64.49.119 with SMTP; 2 Feb 2007 02:42:20 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 505A85D1EDC;
 Fri,  2 Feb 2007 03:40:59 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 27212-06; Fri, 2 Feb 2007 03:40:59 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id C16AD5D19FC;
 Fri,  2 Feb 2007 03:40:58 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Fri, 02 Feb 2007 03:39:46 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 22BC55D10CA
 for <oracle-l@freelists.org>; Fri,  2 Feb 2007 03:39:46 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 26936-01 for <oracle-l@freelists.org>;
 Fri, 2 Feb 2007 03:39:46 -0500 (EST)
Received: from mx2.kocbank.com.tr (ANYWAY.kocbank.com.tr [195.46.132.157])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 2A5715D0A21
 for <oracle-l@freelists.org>; Fri,  2 Feb 2007 03:39:44 -0500 (EST)
Received: from camexc1.kfs.local ([10.222.8.20]) by MX2 with InterScan Messaging Security Suite; Fri, 02 Feb 2007 10:41:12 +0200
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C746A6.4739CB2B"
X-MimeOLE: Produced By Microsoft Exchange V6.5
Subject: RE: Finding out what user oracle is installed under
Date: Fri, 2 Feb 2007 10:43:56 +0200
Message-ID: <083667B535F3464CA0DD0D1DAFA4E3760C68DAF5@camexc1.kfs.local>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Finding out what user oracle is installed under
References: <2F802216565E44489600A03F763219A80BC4CF@mia.SEFASBRISTOL>
From: "Yasin Baskan" <yasin.baskan@yapikredi.com.tr>
To: <JDunn@sefas.com>,
 "oracle-l" <oracle-l@freelists.org>
X-archive-position: 45064
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: yasin.baskan@yapikredi.com.tr
Precedence: normal
Reply-to: yasin.baskan@yapikredi.com.tr
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at avenirtech.net
------_=_NextPart_001_01C746A6.4739CB2B
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable



You can try this. This is 10G R2. But be aware that dbms_system is stil
undocumented.

=0D

set serveroutput on

declare

v_value varchar2(100);

begin

sys.dbms_system.get_env('LOGNAME',v_value);

dbms_output.put_line(v_value);

end;

/

=0D

From: oracle-l-bounce@freelists.org
[mailto:oracle-l-bounce@freelists.org] On Behalf Of John Dunn
Sent: Friday, February 02, 2007 10:14 AM
To: oracle-l
Subject: Finding out what user oracle is installed under

=0D

Is there a database query that will tell me what Unix account oracle is
installed under? I know that in most cases this will be oracle, but is
there a database query that will tell me?

=0D

=0D

John Dunn

Product Consultant

Sefas Innovation Limited

Direct Dial + 44 (0) 117 373 6122

www.sefas.com
<file:///C:\Documents%20and%20Settings\ransty\Application%20Data\Microso
ft\Signatures\www.sefas.com>=0D

Sefas Innovation Ltd, CityPoint, Temple Gate, Bristol BS1 6PL, UK. Tel:
+44 (0) 117 373 6114 Fax: +44 (0) 117 373 6115

Sefas Innovation Limited.  Registered No: 3769761 England.  Registered
Office: One New Street, Wells, Somerset, BA5 2LA, United Kingdom.  VAT
Registration No: GB 741 5377 32

Unless stated to be non-confidential, this email and any attachments are
private and confidential and are for the addressee only. Sefas monitors
e-mails to ensure its systems operate effectively and to minimize the
risk of viruses. Whilst Sefas has taken reasonable steps to scan this
email, it does not accept liability for any virus that may be contained
in it.

Internet communications are not 100% secure and as such Sefas is not
responsible for their abuse by 3rd parties, nor for any alteration or
corruption in transmission.

=0D

=0D





Bu mesaj ve onunla iletilen tum ekler gonderildigi kisi ya da kuruma ozel=
 ve Bankalar Kanunu geregince, gizlilik yukumlulugu tasiyor olabilir. Bu=
 mesaj, hicbir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz=
 ve para karsiligi satilamaz; mesajin yetkili alicisi veya alicisina=
 iletmekten sorumlu kisi degilseniz, mesaj icerigini ya da eklerini=
 kopyalamayiniz, yayinlamayiniz, baska kisilere yonlendirmeyiniz ve mesaji=
 gonderen kisiyi derhal uyararak bu mesaji siliniz. Bu mesajin iceriginde=
 ya da eklerinde yer alan bilgilerin dogrulugu, butunlugu ve guncelligi=
 Bankamiz tarafindan garanti edilmemektedir ve bilinen viruslere karsi=
 kontrolleri yapilmis olarak yollanan mesajin sisteminizde yaratabilecegi=
 zararlardan Bankamiz sorumlu tutulamaz.

This message and the files attached to it are under the privacy liability=
 in accordance with the Banking Law and confidential to the use of the=
 individual or entity to whom they are addressed. This message cannot be=
 copied, disclosed or sold monetary consideration for any purpose. If you=
 are not the intended recipient of this message, you should not copy,=
 distribute, disclose or forward the information that exists in the content=
 and in the attachments of this message; please notify the sender=
 immediately and delete all copies of this message. Our Bank does not=
 warrant the accuracy, integrity and currency of the information=
 transmitted with this message. This message has been detected for all=
 known computer viruses thence our Bank is not liable for the occurrence of=
 any system corruption caused by this message
------_=_NextPart_001_01C746A6.4739CB2B
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=
=3D"urn:schemas-microsoft-com:office:office" xmlns:w=
=3D"urn:schemas-microsoft-com:office:word" xmlns:m=
=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=
=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Courier;
	panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
	{font-family:Courier;
	panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:t;
	panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Univers;
	panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
p.MsoFooter, li.MsoFooter, div.MsoFooter
	{mso-style-priority:99;
	mso-style-link:"Footer Char";
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.FooterChar
	{mso-style-name:"Footer Char";
	mso-style-priority:99;
	mso-style-link:Footer;
	font-family:"Calibri","sans-serif";}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:Consolas;
	color:#1F497D;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DTR link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:Consolas;
color:#1F497D'>You can try this. This is 10G R2. But be aware that=
 dbms_system
is stil undocumented.<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:Consolas;
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Courier;color:blue;background:white;
mso-highlight:white'>set</span><span lang=3DEN-US style=
=3D'font-size:10.0pt;
font-family:Courier;color:black;background:white;mso-highlight:white'>
serveroutput </span><span lang=3DEN-US style=
=3D'font-size:10.0pt;font-family:Courier;
color:blue;background:white;mso-highlight:white'>on</span><span lang=
=3DEN-US
style=3D'font-size:10.0pt;font-family:Courier;color:black;background:white;
mso-highlight:white'><o:p></o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Courier;color:blue;background:white;
mso-highlight:white'>declare</span><span lang=3DEN-US style=
=3D'font-size:10.0pt;
font-family:Courier;color:black;background:white;mso-highlight:white'><o:p>=
</o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Courier;color:black;background:white;
mso-highlight:white'>v_value </span><span lang=3DEN-US style=
=3D'font-size:10.0pt;
font-family:Courier;color:red;background:white;mso-highlight:white'>varchar=
2</span><span
lang=3DEN-US style=
=3D'font-size:10.0pt;font-family:Courier;color:blue;background:
white;mso-highlight:white'>(</span><span lang=3DEN-US style=
=3D'font-size:10.0pt;
font-family:Courier;color:black;background:white;mso-highlight:white'>100</=
span><span
lang=3DEN-US style=
=3D'font-size:10.0pt;font-family:Courier;color:blue;background:
white;mso-highlight:white'>);</span><span lang=3DEN-US style=
=3D'font-size:10.0pt;
font-family:Courier;color:black;background:white;mso-highlight:white'><o:p>=
</o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Courier;color:blue;background:white;
mso-highlight:white'>begin</span><span lang=3DEN-US style=
=3D'font-size:10.0pt;
font-family:Courier;color:black;background:white;mso-highlight:white'><o:p>=
</o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Courier;color:black;background:white;
mso-highlight:white'>sys</span><span lang=3DEN-US style=
=3D'font-size:10.0pt;
font-family:Courier;color:blue;background:white;mso-highlight:white'>.</spa=
n><b><i><span
lang=3DEN-US style=
=3D'font-size:10.0pt;font-family:Courier;color:black;background:
white;mso-highlight:white'>dbms_system.get_env</span></i></b><span lang=
=3DEN-US
style=3D'font-size:10.0pt;font-family:Courier;color:blue;background:white;
mso-highlight:white'>(</span><span lang=3DEN-US style=3D'font-size:10.0pt;
font-family:Courier;color:red;background:white;mso-highlight:white'>'LOGNAM=
E'</span><span
lang=3DEN-US style=
=3D'font-size:10.0pt;font-family:Courier;color:blue;background:
white;mso-highlight:white'>,</span><span lang=3DEN-US style=
=3D'font-size:10.0pt;
font-family:Courier;color:black;background:white;mso-highlight:white'>v_val=
ue</span><span
lang=3DEN-US style=
=3D'font-size:10.0pt;font-family:Courier;color:blue;background:
white;mso-highlight:white'>);</span><span lang=3DEN-US style=
=3D'font-size:10.0pt;
font-family:Courier;color:black;background:white;mso-highlight:white'><o:p>=
</o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><b><i><span lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Courier;color:black;background:white;
mso-highlight:white'>dbms_output.put_line</span></i></b><span lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Courier;color:blue;background:white;
mso-highlight:white'>(</span><span lang=3DEN-US style=3D'font-size:10.0pt;
font-family:Courier;color:black;background:white;mso-highlight:white'>v_val=
ue</span><span
lang=3DEN-US style=
=3D'font-size:10.0pt;font-family:Courier;color:blue;background:
white;mso-highlight:white'>);</span><span lang=3DEN-US style=
=3D'font-size:10.0pt;
font-family:Courier;color:black;background:white;mso-highlight:white'><o:p>=
</o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Courier;color:blue;background:white;
mso-highlight:white'>end;</span><span lang=3DEN-US style=
=3D'font-size:10.0pt;
font-family:Courier;color:black;background:white;mso-highlight:white'><o:p>=
</o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-US style=
=3D'font-size:10.0pt;font-family:Courier;
color:blue;background:white;mso-highlight:white'>/</span><span
style=
=3D'font-size:11.0pt;font-family:Consolas;color:#1F497D'><o:p></o:p></span>=
</p>

<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:Consolas;
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm=
 0cm 0cm'>

<p class=3DMsoNormal><b><span lang=3DEN-US style=
=3D'font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=3DEN-US style=
=3D'font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> oracle-l-bounce@freelists.org
[mailto:oracle-l-bounce@freelists.org] <b>On Behalf Of </b>John Dunn<br>
<b>Sent:</b> Friday, February 02, 2007 10:14 AM<br>
<b>To:</b> oracle-l<br>
<b>Subject:</b> Finding out what user oracle is installed=
 under<o:p></o:p></span></p>

</div>

</div>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<div>

<p class=3DMsoNormal><span style=
=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>Is
there a database query that will tell me what Unix account oracle is=
 installed
under? I&nbsp;know that in most cases this will be oracle, but is there a
database query that will tell me?</span><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><span style=
=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>John
Dunn</span><o:p></o:p></p>

</div>

<p><span style=3D'font-size:10.0pt;font-family:"t","serif"'>Product=
 Consultant</span><o:p></o:p></p>

<p><span style=3D'font-size:10.0pt;font-family:"t","serif"'>Sefas=
 Innovation
Limited</span><o:p></o:p></p>

<p><span style=3D'font-size:10.0pt;font-family:"t","serif"'>Direct Dial +=
 44 (0)
117 373 6122</span><o:p></o:p></p>

<p><a
href=
=3D"file:///C:\Documents%20and%20Settings\ransty\Application%20Data\Microso=
ft\Signatures\www.sefas.com"
title=
=3D"file:///C:/Documents%20and%20Settings/ransty/Application%20Data/Microso=
ft/Signatures/www.sefas.com"><span
style=
=3D'font-size:10.0pt;font-family:"t","serif"'>www.sefas.com</span></a><o:p>=
</o:p></p>

<p><span style=3D'font-size:10.0pt;font-family:"t","serif"'>Sefas=
 Innovation Ltd,
CityPoint, Temple Gate, Bristol BS1 6PL, UK. Tel: +44 (0) 117 373 6114 Fax:=
 +44
(0) 117 373 6115</span><o:p></o:p></p>

<p class=3DMsoFooter style=3D'margin:0cm;margin-bottom:.0001pt'><b><span
lang=3DEN-US style=3D'font-size:8.0pt;font-family:"Univers","serif"'>Sefas
Innovation Limited.&nbsp; </span></b><span lang=3DEN-US style=
=3D'font-size:8.0pt;
font-family:"Univers","serif"'>Registered No: 3769761 England.&nbsp;=
 </span><span
lang=3DEN-US style=
=3D'font-size:8.0pt;font-family:"Univers","serif"'>Registered
Office: One New Street, Wells, Somerset, BA5 2LA, United Kingdom.&nbsp; VAT
Registration No: GB 741 5377 32</span><o:p></o:p></p>

<p><span style=3D'font-size:10.0pt;font-family:"t","serif"'>Unless stated=
 to be
non-confidential, this email and any attachments are private and=
 confidential
and are for the addressee only. Sefas monitors e-mails to ensure its=
 systems
operate effectively and to minimize the risk of viruses. Whilst Sefas has=
 taken
reasonable steps to scan this email, it does not accept liability for any=
 virus
that may be contained in it.</span><o:p></o:p></p>

<p><span style=3D'font-size:10.0pt;font-family:"t","serif"'>Internet
communications are not 100% secure and as such Sefas is not responsible for
their abuse by 3rd parties, nor for any alteration or corruption in
transmission.</span><o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<div>

<p class=3DMsoNormal>&nbsp;<o:p></o:p></p>

</div>

</div>

</body>

</html>

<table><tr><td bgcolor=3D#ffffff><font color=3D#000000><br>
<br>
Bu mesaj ve onunla iletilen tum ekler gonderildigi kisi ya da kuruma ozel=
 ve Bankalar Kanunu geregince, gizlilik yukumlulugu tasiyor olabilir. Bu=
 mesaj, hicbir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz=
 ve para karsiligi satilamaz; mesajin yetkili alicisi veya alicisina=
 iletmekten sorumlu kisi degilseniz, mesaj icerigini ya da eklerini=
 kopyalamayiniz, yayinlamayiniz, baska kisilere yonlendirmeyiniz ve mesaji=
 gonderen kisiyi derhal uyararak bu mesaji siliniz. Bu mesajin iceriginde=
 ya da eklerinde yer alan bilgilerin dogrulugu, butunlugu ve guncelligi=
 Bankamiz tarafindan garanti edilmemektedir ve bilinen viruslere karsi=
 kontrolleri yapilmis olarak yollanan mesajin sisteminizde yaratabilecegi=
 zararlardan Bankamiz sorumlu tutulamaz.<br>
</font></td></tr></table>
<table><tr><td bgcolor=3D#ffffff><font color=3D#000000>This message and the=
 files attached to it are under the privacy liability in accordance with=
 the Banking Law and confidential to the use of the individual or entity to=
 whom they are addressed. This message cannot be copied, disclosed or sold=
 monetary consideration for any purpose. If you are not the intended=
 recipient of this message, you should not copy, distribute, disclose or=
 forward the information that exists in the content and in the attachments=
 of this message; please notify the sender immediately and delete all=
 copies of this message. Our Bank does not warrant the accuracy, integrity=
 and currency of the information transmitted with this message. This=
 message has been detected for all known computer viruses thence our Bank=
 is not liable for the occurrence of any system corruption caused by this=
 message<br>
</font></td></tr></table>
------_=_NextPart_001_01C746A6.4739CB2B--
--
http://www.freelists.org/webpage/oracle-l


