码迷,mamicode.com
首页 > 数据库 > 详细

oracle 12c开启关闭统一审计

时间:2019-11-29 11:11:14      阅读:192      评论:0      收藏:0      [点我收藏+]

标签:span   set   ora   rtu   val   line   sysdba   lines   parameter   

--------------------开启统一审计-------------------------------------------
SQL> conn /as sysdba
SQL> shutdown immediate
SQL> exit

$ lsnrctl stop
$ cd $ORACLE_HOME/rdbms/lib
$ make -f ins_rdbms.mk uniaud_on ioracle ORACLE_HOME=$ORACLE_HOME
$ lsnrctl start

SQL> conn /as sysdba
SQL> startup



--------------------关闭统一审计------------------------------------------
SQL> conn /as sysdba
SQL> shutdown immediate
SQL> exit

$ lsnrctl stop
$ cd $ORACLE_HOME/rdbms/lib
$ make -f ins_rdbms.mk uniaud_off ioracle
$ lsnrctl start

SQL> conn /as sysdba
SQL> startup

 

----------------查看是否开启或关闭--------------------------------------

SQL> set linesize 1000;
SQL> select parameter,value from v$option where parameter = ‘Unified Auditing‘;

PARAMETER                                                        VALUE
---------------------------------------------------------------- ----------------------------------------------------------------
Unified Auditing                                                 FALSE

 

SQL> set linesize 1000;
SQL> select parameter,value from v$option where parameter = ‘Unified Auditing‘;

PARAMETER                                                        VALUE
---------------------------------------------------------------- ----------------------------------------------------------------
Unified Auditing                                                 TRUE

oracle 12c开启关闭统一审计

标签:span   set   ora   rtu   val   line   sysdba   lines   parameter   

原文地址:https://www.cnblogs.com/hxlasky/p/11956054.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!