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: Forcing user to log off

RE: Forcing user to log off

From: Uma Sankara_Sivadanam <UmaSankara_Sivadanam_at_satyam.com>
Date: Wed, 2 Aug 2000 10:22:55 +0530
Message-Id: <10576.113553@fatcity.com>


This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible.

------_=_NextPart_001_01BFFC3D.83846B20
Content-Type: text/plain

Hi,

from the v$session look for the username you want to logoff forcibly and also his session id and the other details.The query looks like this.

select username,sid,serial# from v$session where username ='XXX';

Then try

alter system kill session 'sid,serial#' ;

Keep sid and serial # valus in single quotes. hope this will work.

Uma Shankar

> ----------
> From: Jaime Perez[SMTP:jaime_at_mail.laosb.org]
> Reply To: ORACLE-L_at_fatcity.com
> Sent: Tuesday, August 01, 2000 11:15 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Re: Forcing user to log off
>
> Yes there is a guy.
> Let me look at my books again.
> Can you make sure if nobody has helped you to remind me again.
> I am in the middle of training and I can't see the book cause it is at
> home.
>
> -jaime
>
>
> ----- Original Message -----
> To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
> Sent: Thursday, July 27, 2000 1:06 PM
>
>
> >
> > >From Oracle, how can you force a user to log off?
> >
> > This is Oracle 8.0.5/UNIX and I know I can kill the PID, but
> > is there a way to do it from Oracle?
> >
> > -----
> > Sent using MailStart.com ( http://MailStart.Com/welcome.html )
> > The FREE way to access your mailbox via any web browser, anywhere!
> >
> > --
> > Author:
> > INET: cemail_at_sprintmail.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).
> >
>
> --
> Author: Jaime Perez
> INET: jaime_at_mail.laosb.org
>
> 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).
>

------_=_NextPart_001_01BFFC3D.83846B20
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2650.12">
<TITLE>RE: Forcing user to log off</TITLE>
</HEAD>
<BODY>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Hi,</FONT> </P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">from the v$session = look for the username you want to logoff forcibly and also his session = id and the other details.The query looks like this.</FONT></P> <BR>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">select = username,sid,serial# from v$session</FONT> <BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">where username = =3D'XXX';</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Then try </FONT> </P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">alter system kill = session 'sid,serial#' ;</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Keep sid and serial = # valus in single quotes.</FONT>
<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">hope this will = work.</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Uma Shankar</FONT>
</P>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<UL>
<P><FONT SIZE=3D1 FACE=3D"MS Sans Serif">----------</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"MS Sans Serif">From:</FONT></B> &nbsp; =
<FONT SIZE=3D1 FACE=3D"MS Sans Serif">Jaime =
Perez[SMTP:jaime_at_mail.laosb.org]</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"MS Sans Serif">Reply To:</FONT></B> = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D1 FACE=3D"MS Sans = Serif">ORACLE-L_at_fatcity.com</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"MS Sans Serif">Sent:</FONT></B> &nbsp; = <FONT SIZE=3D1 FACE=3D"MS Sans Serif">Tuesday, August 01, 2000 11:15 = PM</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"MS Sans Serif">To:</FONT></B> = &nbsp;&nbsp;&nbsp; <FONT SIZE=3D1 FACE=3D"MS Sans Serif">Multiple = recipients of list ORACLE-L</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"MS Sans Serif">Subject:</FONT></B> = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D1 FACE=3D"MS Sans = Serif">Re: Forcing user to log off</FONT> </P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Yes there is a guy.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Let me look at my books again.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Can you make sure if nobody has =
helped you to remind me again.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">I am in the middle of training and I = can't see the book cause it is at home.</FONT> </P>
<P><FONT SIZE=3D2 FACE=3D"Arial">-jaime</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">----- Original Message -----</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">To: Multiple recipients of list = ORACLE-L &lt;ORACLE-L_at_fatcity.com&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">Sent: Thursday, July 27, 2000 1:06 = PM</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt;From Oracle, how can you = force a user to log off?</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; This is Oracle 8.0.5/UNIX and I = know I can kill the PID, but</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; is there a way to do it from = Oracle?</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; -----</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Sent using MailStart.com =
(</FONT><U> <FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial"><A = HREF=3D"http://MailStart.Com/welcome.html" = TARGET=3D"_blank">http://MailStart.Com/welcome.html</A></FONT></U><FONT = SIZE=3D2 FACE=3D"Arial"> )</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; The FREE way to access your = mailbox via any web browser, anywhere!</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; --</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Author:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;&nbsp;&nbsp; INET: =
cemail_at_sprintmail.com</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Fat City Network = Services&nbsp;&nbsp;&nbsp; -- (858) 538-5051&nbsp; FAX: (858) = 538-5051</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; San Diego, = California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Public Internet = access / Mailing Lists</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; =
--------------------------------------------------------------------</FO=
NT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; To REMOVE yourself from this = mailing list, send an E-Mail message</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; to: ListGuru_at_fatcity.com (note = EXACT spelling of 'ListGuru') and in</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; the message BODY, include a line = containing: UNSUB ORACLE-L</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; (or the name of mailing list you = want to be removed from).&nbsp; You may</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; also send the HELP command for = other information (like subscribing).</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT> </P>
<P><FONT SIZE=3D2 FACE=3D"Arial">-- </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Author: Jaime Perez</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp; INET: =
jaime_at_mail.laosb.org</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Fat City Network = Services&nbsp;&nbsp;&nbsp; -- (858) 538-5051&nbsp; FAX: (858) = 538-5051</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">San Diego, = California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Public Internet = access / Mailing Lists</FONT>
<BR><FONT SIZE=3D2 =

FACE=3D"Arial">---------------------------------------------------------=
-----------</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">To REMOVE yourself from this mailing = list, send an E-Mail message</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">to: ListGuru_at_fatcity.com (note EXACT = spelling of 'ListGuru') and in</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">the message BODY, include a line = containing: UNSUB ORACLE-L</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">(or the name of mailing list you want = Received on Tue Aug 01 2000 - 23:52:55 CDT

Original text of this message

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