|
|
Re: 这个外部验证和 ORA_DBA / DBA 用户组是没有关系的
最初由 biti_rainy 发布
[B]SQL> conn / as sysdba
Connected.
SQL> CREATE USER "OPS$BILLY" PROFILE "DEFAULT"
2 IDENTIFIED EXTERNALLY DEFAULT TABLESPACE "USERS" ;
User created.
SQL> grant connect to ops$billy;
Grant succeeded.
SQL> exit
Disconnected from Oracle10i Enterprise Edition Release 10.1.0.0.0 - Beta
With the Partitioning, OLAP and Oracle Data Mining options
[oracle@linux home]$ su billy
Password:
[billy@linux home]$ id
uid=500(billy) gid=501(billy) groups=501(billy)
[billy@linux home]$ sqlplus /
SQL*Plus: Release 10.1.0.0.0 - Beta on Tue Aug 19 16:56:01 2003
Copyright (c) 1982, 2003, Oracle Corporation. All rights reserved.
Connected to:
Oracle10i Enterprise Edition Release 10.1.0.0.0 - Beta
With the Partitioning, OLAP and Oracle Data Mining options
SQL> show user
USER is "OPS$BILLY"
SQL> exit
Disconnected from Oracle10i Enterprise Edition Release 10.1.0.0.0 - Beta
With the Partitioning, OLAP and Oracle Data Mining options
[billy@linux home]$ su oracle
Password:
[oracle@linux home]$ id
uid=502(oracle) gid=504(oinstall) groups=504(oinstall),505(dba)
[oracle@linux home]$ [/B]
摘自oracle920 administrator文档
Preparing to Use OS Authentication
To enable authentication of an administrative user using the operating system you must do the following:
1. Create an operating system account for the user.
2. Add the user to the OSDBA or OSOPER operating system defined groups.
3. Ensure that the initialization parameter, REMOTE_LOGIN_PASSWORDFILE, is set to NONE. This is the default value for this parameter. |
|