Solved

Lock/Deactivate account using PROFILE, if not used for 30 days

Posted on 2009-07-13
2
439 Views
Last Modified: 2013-12-19
Hello,
    Using Profile, I want to disable/deactivate/lock an Oracle user ID If not used for 30 days.
    Is it possible using Profile? If not any other option to accomplish the same?

 Thanks
0
Comment
Question by:oracop
2 Comments
 
LVL 74

Accepted Solution

by:
sdstuber earned 25 total points
ID: 24841661
the profile itself won't disable the account but you can turn on auditting and then use a dbms_job or dbms_scheduler process to monitor dba_audit_trail and deactivate any accounts that show no recent activity.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question