Reputation: 178
I would like to create an Oracle DB user and I would like to disable him in exactly 8 hours. I don't care if a user just gets locked or if all of his roles are revoked, I just want to prevent him from doing any activities on DB exactly 8 hours after his DB user was created.
Does Oracle provide such option out of the box ?
If not, I might go with the following solution:
My proposed solution is very nasty so I really hope there's a better solution for my issue.
Upvotes: 0
Views: 404
Reputation: 143088
How about creating a profile
which is a set of limits on database resources. If you assign the profile to a user, then that user cannot exceed these limits.
Especially check the following parameters:
Upvotes: 2