Uninstall database vault
===========================================11g=====================================
1) Stop Database Control, the listener and the database
2) Disable Database Vault :
Unix :
cd $ORACLE_HOME/rdbms/lib
make -f ins_rdbms.mk dv_off ioracle
Note:
In 11gR2 one can use chopt to disable DV
chopt disable dv
3) Start the listener and the database.
4) Disable the Database Vault triggers :
conn / as sysdba
alter trigger dvsys.dv_before_ddl_trg disable;
alter trigger dvsys.dv_after_ddl_trg disable;
Note:
These two triggers do not exist in 11gR2 so this step should be executed on 11gR1 only.
5) Identify the DV_OWNER and DV_ACCTMGR users that were configured:
select unique GRANTEE from dba_role_privs
where GRANTED_ROLE in ('DV_ACCTMGR','DV_OWNER')
and grantee <> 'DVSYS';
6) Run script dvremov.sql as SYSDBA after setting parameter recyclebin to OFF:
Note: In 11.2.0.1 run the following statements before running dvremov.sql:
update dvsys.config$ set status=0;
commit;
conn / as sysdba
alter system set recyclebin=off scope=spfile;
shutdown immediate
startup
run ?/rdbms/admin/dvremov.sql
After this only DVSYS and DVF users and DV roles are removed, but the security admin and account manager accounts are not removed as they are considered custom database accounts. They have to be removed manually, use the usernames obtained in step 5. (take care not to drop any users that you may have granted these roles manually):
conn / as sysdba
drop user &DV_OWNER cascade;
drop user &DV_ACCTMGR cascade;
dvremov.sql just removes the DV components and does not affect in any way OLS.
7) Run dbms_network_acl_admin.drop_acl(In 11gR2 this is included in dvremov.sql) :
conn / as sysdba
exec DBMS_NETWORK_ACL_ADMIN.DROP_ACL ('/sys/acls/dvsys-network-privileges.xml');
commit;
8) Turn on recycle bin if it was turned off before
==============================12c=============================================
Disable Oracle Database Vault
Be aware that after you disable Oracle Database Vault, Oracle Label Security, which is required to run Database Vault, is still enabled.
1) To disable Oracle Database Vault:
In SQL*Plus, log in as the Oracle Database Owner (DV_OWNER) account, and then disable Oracle Database Vault.
sqlplus psmith
Enter password: password
EXEC DBMS_MACADM.DISABLE_DV;
2) In a multitenant environment, connect to the appropriate pluggable database (PDB).
For example:
CONNECT psmith@hrpdb
Enter password: password
To find the available PDBs, query the DBA_PDBS data dictionary view. To check the current PDB, run the show con_name command.
3) Restart the database.
CONNECT SYS AS SYSOPER -- Or, CONNECT SYS@hrpdb AS SYSOPER
Enter password: password
SHUTDOWN IMMEDIATE
STARTUP
4) For Oracle RAC installations, repeat these steps for each node on which the database is installed.
5) Run:
sqlplus / as sysdba
@?/rdbms/admin/dvremov.sql
script will remove Database Vault
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29337971/viewspace-1816624/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Audit Vault and Database VaultDatabase
- ORACLE database vaultOracleDatabase
- 初識 "Oracle Database Vault"OracleDatabase
- 關於Oracle Database Vault介紹OracleDatabase
- Database Vault(DBV)和領域管理Database
- uninstall 11.2.0.3.0 grid & database in linux 5.7DatabaseLinux
- 利用DATABASE VAULT保護敏感資料Database
- DATABASE VAULT授權的安全隱患Database
- 靜默方式安裝database vault 10.2.0.4Database
- oracle之 oracle database vault(資料庫保險庫)OracleDatabase資料庫
- oracle 11g Oracle Database Vault 的配置方法OracleDatabase
- Oracle大會PPT 用Oracle Database Vault 保護你的資料OracleDatabase
- oracle10g database vault 訪問Realms相關的資料字典OracleDatabase
- oracle install/uninstallOracle
- 話說 Oracle Audit Vault 和Oracle DB VaultOracle
- Uninstall Oracle 9iOracle
- Vault外掛示例--Vault Explorer與Thin Client的整合。client
- 使用Autodesk Vault外掛嚮導輕鬆建立Vault外掛
- 如何編寫Vault外掛擴充套件Vault Explorer的功能套件
- Centos-6-Vault-OfficialCentOS
- uninstall 後的檔案如何恢復
- mysql uninstall plugins 詳細說明MySqlPlugin
- 使用 Docker 和 Traefik 搭建 VaultDocker
- 通過API找出Autodesk Vault中某個使用者組可以訪問的VaultAPI
- SAP Uninstall 之誤刪測試資料庫資料庫
- Cannot uninstall 'ipaddress'. It is a distutils installed project and thusiPadProject
- Azure Key Vault(二)- 入門簡介
- Vault 不同版本的API的異同API
- Autodesk Vault: 獲取授權失敗
- VAULT ADMINISTRATOR GUIDE總結GUIIDE
- ERROR: Cannot uninstall ‘PyYAML‘. It is a distutils installed project and thus we cannot accuratelyErrorYAMLProject
- 利用Data vault對資料倉儲建模
- 詳說Oracle Vault——原理、安裝與配置Oracle
- 詳說Oracle Vault——使用資料泵工具Oracle
- hashicorp vault pki啟用簽證書
- 【Azure Key Vault】在Azure Databricks上獲取Azure Key Vault中所儲存的機密(secret)的兩種方式
- 在Autodesk Vault 2014中使用VDF(Vault Development Framework) API獲取所有檔案的屬性資訊devFrameworkAPI
- Advanced Uninstall Manager for Mac 高階解除安裝管理器Mac