Q
Problem solve Get help with specific problems with your technologies, process and projects.

Inactivating users

I'm working on Oracle 8.1.7.0. I have a doubt on how to inactivate the Oracle user (schema). The scenario is something like this... I have a list of users from ADS that I created as Oracle users in my database. Now if there any deletion in the ADS users, then instead of dropping that particular user from my database, I want to inactivate it. Is there any way we can do this?

Since you are on Oracle 8i, you can use a feature introduced in that version. You can lock this account. The schema objects will still exist, but no one can ever log into that account while it is locked. This can be done with the following statement:

ALTER USER username ACCOUNT LOCK;
Prior to Oracle 8i, the only way to get the same effect was to change the user's password to something that no one else would ever know.

For More Information

Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close