Difference between revisions of "User Management"

From dbawiki
Jump to: navigation, search
(Users created when installing Oracle 11.2.0.4 Standard Edition)
(Users created when installing Oracle 11.2.0.4 Standard Edition)
Line 3: Line 3:
 
===Users created when installing Oracle 11.2.0.4 Standard Edition===
 
===Users created when installing Oracle 11.2.0.4 Standard Edition===
 
<pre>
 
<pre>
SYS@ATHARCHT> select username from dba_users order by 1;
+
select username from dba_users order by 1;
  
 
USERNAME
 
USERNAME
Line 35: Line 35:
 
25 rows selected.
 
25 rows selected.
 
</pre>
 
</pre>
 +
 
===Users created when installing Oracle 11.2.0.4 Enterprise Edition===
 
===Users created when installing Oracle 11.2.0.4 Enterprise Edition===
 
<pre>
 
<pre>

Revision as of 11:44, 22 January 2016

Users created when installing Oracle 11.2.0.4 Standard Edition

select username from dba_users order by 1;

USERNAME
------------------------------
ANONYMOUS
APEX_030200
APEX_PUBLIC_USER
APPQOSSYS
CTXSYS
DBSNMP
DIP
EXFSYS
FLOWS_FILES
MDSYS
MGMT_VIEW
ORACLE_OCM
ORDDATA
ORDPLUGINS
ORDSYS
OUTLN
OWBSYS
OWBSYS_AUDIT
SI_INFORMTN_SCHEMA
SYS
SYSMAN
SYSTEM
WMSYS
XDB
XS$NULL

25 rows selected.

Users created when installing Oracle 11.2.0.4 Enterprise Edition

SYS@CISPRO1P> select username from dba_users order by 1;

USERNAME
------------------------------
ANONYMOUS
APEX_030200
APEX_PUBLIC_USER
APPQOSSYS
CTXSYS
DBSNMP
DIP
EXFSYS
FLOWS_FILES
MDDATA
MDSYS
MGMT_VIEW
OLAPSYS
ORACLE_OCM
ORDDATA
ORDPLUGINS
ORDSYS
OUTLN
OWBSYS
OWBSYS_AUDIT
SI_INFORMTN_SCHEMA
SPATIAL_CSW_ADMIN_USR
SPATIAL_WFS_ADMIN_USR
SYS
SYSMAN
SYSTEM
WMSYS
XDB
XS$NULL

29 rows selected.

Create external user

Check the authentification prefix

SQL> show parameter authent

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
os_authent_prefix                    string      ops$
SQL>

On Unix...

create user ops$oracle identified externally;
grant create session to ops$oracle;

On Windows...

Watch out on Windows - the domain name needs to be included!

create user "ops$domainname.com\oracle" identified externally;
grant create session to "ops$domainname.com\oracle";

Additionally, the following option must be set in "%ORACLE_HOME%\network\admin\sqlnet.ora"

SQLNET.AUTHENTICATION_SERVICES= (NTS)