Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-07-13
2
Medium Priority
?
450 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
1 Comment
 
LVL 74

Accepted Solution

by:
sdstuber earned 100 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

773 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