Message-Id: <10576.113553@fatcity.com> From: Uma Sankara_Sivadanam Date: Wed, 2 Aug 2000 10:22:55 +0530 Subject: RE: Forcing user to log off 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@mail.laosb.org] > Reply To: ORACLE-L@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 > 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@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@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@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@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 RE: Forcing user to log off

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 = =3D'XXX';

Then try

alter system kill = session 'sid,serial#' ;

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

Uma Shankar