You can audit logons to get to logon/logoff time, or
create an on-logon trigger on the database (8i+) to
store the logon time once you have unlocked the
account

hth
connor

--- "Yttri, Lisa" <[EMAIL PROTECTED]> wrote: > Hi
everyone -
> 
> I am trying to implement a process on our production
> servers.  If requested
> for emergencies, an id is automatically unlocked. 
> This id was previously
> defined with all access (select, insert, update,
> delete) to all objects in a
> schema.   I want this id to be active for only 4
> hours, then I would like it
> to automatically get locked.
> 
> Is there any information maintained in oracle as to
> the length of time a
> user id has been unlocked (or active)?  I could then
> query that column and
> once it was over 4 hours, I could terminate any
> active sessions using that
> id and lock it.
> 
> If I audit this id, would there be useful
> information in the audit tables
> regarding length of use?
> 
> Any help - or other ideas to accomplish this - would
> be greatly appreciated.
> 
> Thanks -
> lisa
> 


=====
Connor McDonald
http://www.oracledba.co.uk (mirrored at 
http://www.oradba.freeserve.co.uk)

"Some days you're the pigeon, some days you're the statue"

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-1?q?Connor=20McDonald?=
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to