zoukankan      html  css  js  c++  java
  • oracle 12c开启关闭统一审计

    --------------------开启统一审计-------------------------------------------
    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

  • 相关阅读:
    云计算设计模式(十一)——健康端点监控模式
    大数据R语言简析
    git查看/修改 用户名和邮箱
    MySQL查询和修改auto_increment的方法
    git 配置用户名和邮箱
    discuz安装小云app
    二维码转化为链接
    discuz更换域名,登录不了解决
    数据结构很重要
    C++ vector错误(1)
  • 原文地址:https://www.cnblogs.com/hxlasky/p/11956054.html
Copyright © 2011-2022 走看看