ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 使用Oracle外部身份认证增强安全性

使用Oracle外部身份认证增强安全性

原创 Linux操作系统 作者:尛样儿 时间:2010-03-28 09:45:11 0 删除 编辑
Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE
oracle@ythdc:/home/oracle$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.4.0 - Production on Wed Mar 31 15:41:12 2010

Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> show parameters authent

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
os_authent_prefix                    string      ops$
remote_os_authent                    boolean     FALSE

SQL> create user ops$test identified by externally;   //ops$test对应的操作系统用户是test

User created.

SQL> grant connect to ops$test;

Grant succeeded.

SQL> exit

root@ythdc:/home# su - test

test@ythdc:/home/test$ sqlplus /

SQL*Plus: Release 10.2.0.4.0 - Production on Wed Mar 31 15:44:27 2010

Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL>

SQL> show user
USER is "OPS$TEST"
SQL>

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/23135684/viewspace-630560/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle数据库管理员,Oracle数据库系统构架员;2012年7月出版《构建最高可用Oracle数据库系统:Oracle 11gR2 RAC管理、维护与性能优化》一书;Oracle 10g OCM。

注册时间:2010-01-05

  • 博文量
    483
  • 访问量
    5651533