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: Control user Login ?

Re: Control user Login ?

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Thu, 14 Feb 2002 19:12:40 +0000
Message-ID: <3C6C0C28.6906@yahoo.com>


Andreas Wizemann wrote:
>
> Hi,
> is there a way to know at which time a user was last connected to a
> database (if he is currently NOT connected) ?
> Is there also a way to see how long a user has been connected ?
>
> Regards
> Andreas
> Andreas Wizemann

set audit_trail = true in init.ora
SQL> audit session

and query the DBA_AUDIT... views (and truncate sys.aud$ periodically)

v$session shows you who is currently on the system

hth
connor

-- 
==============================
Connor McDonald

http://www.oracledba.co.uk

"Some days you're the pigeon, some days you're the statue..."
Received on Thu Feb 14 2002 - 13:12:40 CST

Original text of this message

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