Oracle Created (Default) Database Users

H2数据库安装和帮助 H2 数据库 内存数据库 安装 小型数据库 在内存中读取 速度快 立即下载



Oracle Created (Default) Database Users


by Jeff Hunter, Sr. Database Administrator



Overview



During database creation, Oracle creates several default database users or schemas.
This article attempts to provide some insight and explain each of these default
database users/schemas.



Oracle User Account Details




























































































































Default Users
UsernameDefault PasswordAccount Description
SYSchange_on_installAll of the base tables and views for the database's data dictionary are stored in the schema SYS.
These base tables and views are critical for the operation of Oracle. To maintain the integrity
of the data dictionary, tables in the SYS schema are manipulated only by Oracle; they should
never be modified by any user or database administrator, and no one should create any tables
in the schema of the user SYS.


The DBA should change the password for SYS immediately after database creation!!!

SYSTEMmanagerThe SYSTEM username creates additional tables and views that display administrative information,
and internal tables and views used by Oracle tools. Never create in the SYSTEM schema tables
of interest to individual users.


SYSTEM is a little bit "weaker" user than SYS, for example, it has no access to so called
X$ tables (the very internal structure tables of Oracle).


Although in real life you may be in a situation when some product or whatever you want to
create objects in above mentioned user's schemas. Be flexible, don't sacriface a product
only because it will create some objects in SYS or SYSTEM schema


The DBA should change the password for SYSTEM immediately after database creation!!!

DBSNMPdbsnmpSupports Oracle SNMP (Simple Network Management Protocol).


The Oracle Intelligent Agent requires a database logon for
each SID that it manages. By default this account is called
"DBSNMP" and the password is "DBSNMP". The account name and/or
password SHOULD be changed from the default but you will need to
make a few additional modifications. In the examples
below, you will need to replace any information with
brackets < > with the information from your system.


  1. Remove all Jobs and Events currently registered against this database.


  2. Stop the Intelligent Agent


    Oracle7 - Oracle8i

    % lsnrctl dbsnmp_stop


    Oracle9i

    % agentctl stop



  3. Edit the $ORACLE_HOME/network/admin/snmp_rw.ora file. Add the following parameter:


    SNMP.CONNECT. .NAME=

    SNMP.CONNECT. .PASSWORD=


    The variable is the exact listing of the database name
    as it appears in the snmp_ro.ora file.


    If is the default (DBSNMP), there is no need to specify the
    user here. Only the password is required.


    On UNIX, set the following permission on the "SNMP_RW.ORA" file:


    % chmod 600 snmp_rw.ora


  4. Change the DBSNMP password on the database. You can use
    either Security Manager, Sqlplus, or Server Manager.
    If you use SQLPlus or Server Manager, you can issue the
    following command:


    SQL> alter user "dbsnmp" identified by " ";


  5. Stop and restart the Intelligent Agent.


OUTLNoutlnOracle8i adds the OUTLN user schema to support Plan Stability.
The OUTLN user acts as a place to centrally manage metadata
associated with stored outlines.


This user has DBA role. It is used for plan stability ie. to
keep the same execution plans for the same queries even if your
system configuration or statistics changes. Execution plans will be
the same in different Oracle releases with different optimizers.


The DBA should either lock the user account or change the password
for the OUTLN user immediately after database creation!!!

MDSYSmdsysSupports Oracle Spatial. Oracle Spatial is an integrated
set of functions and procedures that enables spatial data
to be stored, accessed, and analyzed quickly and efficiently
in an Oracle8i database.


[..] The spatial attribute of a spatial feature is the
geometric representation of its shape in some coordinate space.
This is referred to as its geometry.


The DBA should either lock the user account or change the password
for the MDSYS user immediately after database creation!!!

ORDSYSordsysSupports Oracle8i Time Series. Oracle8i Time Series (in previous
releases called the Oracle8 Time Series Cartridge) is an extension
to Oracle8i that provides storage and retrieval of timestamped
data through object types. Oracle8i Time Series is a building
block for applications rather than being an end-user application
in itself. It consists of data types along with related functions
for managing and processing time series data.


The DBA should either lock the user account or change the password
for the ORDSYS user immediately after database creation!!!

ORDPLUGINSordpluginsSupports Oracle interMedia. Oracle interMedia is a single product
that enables Oracle8i to store, manage, and retrieve text,
documents, geographic location information, images, audio,
and video in an integrated fashion with other enterprise information.
Oracle interMedia extends Oracle8i reliability, availability, and
data management to text and multimedia content in Internet, electronic
commerce, and media-rich applications as well as online Internet-based
geocoding services for locator applications.


The DBA should either lock the user account or change the password
for the ORDPLUGINS user immediately after database creation!!!

CTXSYSctxsysSupports Oracle ConText Cartridge. Oracle8 ConText Cartridge provides
powerful search, retrieval, and viewing capabilities for text
stored in an Oracle8 database. In addition, ConText provides
advanced linguistic processing of English-language text.


The DBA should either lock the user account or change the password
for the CTXSYS user immediately after database creation!!!

DSSYSdssysDynamic Services Secured Web Service. Dynamic Services Engine
(DS Engine) allows creation, aggregation and deployment of services
from a variety of content sources. At the moment, Dynamic Services
supports content access from databases (SQL/PLSQL) as well as Internet
applications (HTTP/HTTPS). DS Engine can interpret XML and HTML content
along with the result sets returned from database access. DS Engine
is integrated with Oracle Portal via a Web Provider mechanism.
This integration allows all the services registered with DS Engine
to be accessible as portlets.


The DBA should either lock the user account or change the password
for the DSSYS user immediately after database creation!!!

PERFSTATperfstatOracle Statistics Package (STATSPACK) user that supersedes
UTLBSTAT/UTLESTAT. The PERFSTAT user will hold all of the tables and packages
for the performance diagnostic tool STATSPACK.


Created By: $ORACLE_HOME/rdbms/admin/spcusr.sql

WKPROXYchange_on_installUsed to support Oracle's Ultrasearch option. This feature (and user)
was introduced in Oracle9i. The user account IS NOT locked
by default is only assigned the "CREATE SESSION" privilege.
None the less, this account is not locked by default and Oracle highly recommends
that this default password be changed.


Created By: $ORACLE_HOME/ultrasearch/admin/wk0csys.sql

WKSYSchange_on_installUsed to support Oracle's Ultrasearch option. This feature (and user)
was introduced in Oracle9i. The user account IS NOT locked
by default and as you can see below, is granted the highly
privileged role of DBA. Given that this user is granted the
DBA role and is not locked by default, Oracle highly recommends
that this default password be changed.


This support account is assigned the following privileges in
Oracle9i:


  • CONNECT
  • RESOURCE
  • DBA
  • ALL PRIVILEGES
  • CTXAPP
  • CREATE PUBLIC SYNONYM
  • DROP PUBLIC SYNONYM
  • CREATE ANY VIEW
  • DROP ANY VIEW
  • CREATE ANY TABLE
  • DROP ANY TABLE
  • CREATE ANY INDEX
  • DROP ANY INDEX
  • CREATE ANY SEQUENCE
  • DROP ANY SEQUENCE
  • CREATE ANY TRIGGER
  • DROP ANY TRIGGER
  • JAVAUSERPRIV
  • JAVASYSPRIV
  • SELECT ON SYS.USER$
  • SELECT ON SYS.V_$PARAMETER
  • SELECT ON SYS.GV_$INSTANCE
  • SELECT ON SYS.V_$DATABASE
  • SELECT ON SYS.DBA_CONSTRAINTS
  • SELECT ON SYS.DBA_JOBS
  • SELECT ON SYS.DBA_DB_LINKS
  • SELECT ON SYS.DBA_ROLE_PRIVS
  • SELECT ON SYS.DBA_LOCK
  • SELECT ON SYS.DBMS_LOCK_ALLOCATED
  • SELECT ON SYS.PROCEDURE$
  • SELECT ON SYS.DBA_TABLES
  • SELECT ON SYS.DBA_VIEWS
  • SELECT ON SYS.DBA_TAB_COLUMNS
  • EXECUTE ON SYS.DBMS_LOCK
  • EXECUTE ON SYS.DBMS_PIPE
  • EXECUTE ON SYS.DBMS_REGISTRY




The default tablespace for this user will be "DRSYS" while its
temporary tablespace will be "TEMP".


Created By: $ORACLE_HOME/ultrasearch/admin/wk0install.sql

WMSYSwmsysUsed to store all the metadata information for Oracle Workspace Manager.
This user was introduced in
Oracle9i and (like most Oracle9i supporting accounts) is locked
by default. The user account is locked because we want
the password to be public but restrict access to the account
to the SYS schema. So, to unlock the account, DBA privileges
are required.


Created By: $ORACLE_HOME/rdbms/admin/owmctab.plb

XDBchange_on_installUsed to support SQL XML management: XML DB. This user is granted
two roles: "RESOURCE" and "JAVAUSERPRIV". Oracle recommends changing
the password for this user after creation. This user is configured with
a default tablespace of "XDB" and a temporary tablespace of "TEMP".


Created By: $ORACLE_HOME/rdbms/admin/catqm.sql

ANONYMOUS...IDENTIFIED BY VALUES 'anonymous'Used to support SQL XML management: XML DB.
Allows HTTP access to Oracle XML DB.
This user should
only be used for HTTP logins. The account is locked near
the end of the catqm.sql script.


Created By: $ORACLE_HOME/rdbms/admin/catqm.sql

ODModmUsed to support Oracle Data Mining. In Oracle9i, this user
is granted the roles: "SELECT_CATALOG_ROLE", "HS_ADMIN_ROLE",
"AQ_USER_ROLE". Oracle recommends changing the default password
as the account IS NOT locked after creation.
The default tablespace for this user is "ODM" with temporary
tablespace "TEMP". The "ODM" tablespace is populated with segments
from users ODM and ODM_MTR.


Created By: $ORACLE_HOME/dm/admin/dmcrt.sql

ODM_MTRmtrpwUsed to support Oracle Data Mining. In Oracle9i, this user
is granted "SELECT_CATALOG_ROLE" and "HS_ADMIN_ROLE".
Oracle recommends changing the default password
as the account IS NOT locked after creation.
The default tablespace for this user is "ODM" with temporary
tablespace "TEMP". The "ODM" tablespace is populated with segments
from users ODM and ODM_MTR.


Created By: $ORACLE_HOME/dm/admin/dmcrt.sql

OLAPSYSmtrpwThis user is create if OLAP option is installed and is used
to create OLAP metadata structures.
In Oracle9i, this user
is granted "SELECT_CATALOG_ROLE" and "HS_ADMIN_ROLE".
Oracle recommends changing the default password.
The default tablespace for this user is "ODM" with temporary
tablespace "TEMP". The "ODM" tablespace is populated with segments
from users ODM and ODM_MTR.


Created By: $ORACLE_HOME/dm/admin/dmcrt.sql

TRACESVRtraceOracle Trace server. Supports Oracle Trace for OEM in Oracle7. Oracle Trace is used to
collect a wide variety of data, such as performance statistics,
diagnostic data, system resource usage, and business transaction details.


This user was last used in Oracle7 and can be dropped from databases using
Oracle8 and higher.

REPADMINManaged by DBA when user is created.Replication user. This user is manually created by the DBA using
CREATE USER... This user is also created in the scripts:
$ORACLE_HOME/ldap/admin/oidrsrms.sql and $ORACLE_HOME/ldap/admin/oidrsms.sql.
Oracle recommends changing the default password if automatically created.








































JSERV Accounts


The three JSERV accounts (AURORA$JIS$UTILITY$, AURORA$ORB$UNAUTHENTICATED and
OSE$HTTP$ADMIN) are used internally by Enterprise Java Beans and CORBA Tools
and created with randomly-generated passwords 'INVALID_ENCRYPTED_PASSWORD'.


These 3 scripts are launched by init_jis.sql script to install the Oracle
Servlet Engine (OSE).


Changing their passwords would prevent the ORB from working.
This is supposed to change in a future version so that you can change their
password.

UsernameDefault PasswordAccount Description
AURORA$ORB$UNAUTHENTICATED

Description:
Create the public user for the Aurora/ORB.
This is the identity any non-validated ORB client
will run as. This is the user for users who don't
authenticate in the Aurora/ORB


Created By: jisorb.sql

AURORA$JIS$UTILITY$

Description:
Create the public user for the Aurora/ORB.
This is the identity any non-validated ORB client
will run as. This is the user for users who don't
authenticate in the Aurora/ORB


Created By: jisbgn.sql

OSE$HTTP$ADMIN

Description:
Create the public user for the Aurora/ORB.
This is the identity any non-validated ORB client
will run as. This is the user for users who don't
authenticate in the Aurora/ORB


Created By: jishausr.sql









































Sample Schemas
UsernameDefault PasswordAccount Description
SCOTTtigerWell known and often referenced sample schema. Everyone should know about
the magical emp and dept tables. VERY MANY examples in Oracle docs and
not only are based on this schema so You should know it!


The user should be dropped in all production databases.

ADAMS  
JONES  
CLARK  
BLAKE  


















































































Oracle9i Sample Schemas


The Oracle9i Sample Schemas provides installed schemas meant to be used for
demonstration purposes only.

UsernameDefault PasswordAccount Details
HRhr
Human Resources schema. The Human Resources
division tracks information on the company's
employees and facilities.

OEoe
Order Entry schema requires "Oracle Spatial" option.
The Order Entry division tracks product inventories and sales of the
company's products through various channels.

PMpm
Product Media schema requires "Oracle JVM" and "Oracle Intermedia"
options. The Product Media division maintains descriptions and detailed
information on each product sold by the company.

SHsh
Sales History schema requires "Oracle OLAP Services" set up.
The Sales History division tracks business statistics to facilitate
business decisions.

QSqs
Queued Shipping schema
The Shipping division manages the shipping of products to customer.
The sample company has decided to test the use of messaging to
manage its proposed B2B applications.

QS_ESqs_es
(Eastern Shipping)
QS_WSqs_ws
(Western Shipping)
QS_OSqs_os
(Overseas Shipping)
QS_CBqs_cb
(Customer Billing)
QS_CSqs_cs
(Customer Service)
QS_ADMqs_adm
(Administration)
QS_CBADMqs_cbadm
(Customer Billing Administration)




本文转自

http://www.idevelopment.info/data/Oracle/DBA_tips/Database_Administration/DBA_26.shtml
从MySQL到数据仓库:手把手教你用Airflow实现自动化ETL流水线 本文详细介绍了如何利用Airflow构建从MySQL到数据仓库的自动化ETL流水线,涵盖增量抽取策略、PySpark转换优化和数据质量监控等实战细节。特别适合中小规模企业构建高效数据仓库,提升数据处理效率和质量。 阅读详情

相关推荐

Weaxor勒索病毒实战分析:从加密算法到防御策略(附检测工具清单)

本文对Weaxor勒索病毒进行了深度实战剖析,详细拆解了其采用ChaCha20与AES-CTR的混合加密算法、横向移动手法及数据回传行为。文章重点分析了其密钥生成机制的“漏洞修复”,并提供了从主机加固、网络监控到基于IOC威胁狩猎的立体化企业级防御策略与检测工具清单。

weixin_29233333的博客 263

Oracle操作小结

在SYS用户中DBA_OBJECTS这个视图中有一个CREATED字段,这个字段记录着表的创建时间。   select created from dba_objects where object_name = 'table_name'就可以看到表的创建时间了。   把我知道的这个表的结构说明一下: Owner:object的属主。 object_name:ojbect的名字

macrobn的专栏 628

Unity中URP实现水体效果(泡沫)

在上篇文章中,我们实现了水体的深度。在这篇文章中,我们来使用上篇文章采样后的深度图来实现水中的泡沫效果。

楠溪泽岸的博客 3489

H2 database 的 setup

最近学习spring cloud的过程中看别人的视频课程,结果老师使用了H2 database (1.4.200),添加了dependency并且写好property之后,我依然无法连接数据库。搞了半天总算用个另一种让它运行了,但是其实依然不太明白为什么最简单的方法无法建立数据。而且貌似也没有使用h2 in memory的特性。 POM.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apach

weixin_45118728的博客 1121

自动驾驶轨迹规划算法——Apollo Lattice Planner

Apollo Lattice Planner是百度Apollo自动驾驶系统中的一种基于采样的实时轨迹规划算法。其核心思想是在离散化的状态空间中,对终端状态进行采样,并通过多项式曲线连接当前状态与候选终端状态,形成候选轨迹集,最后基于代价函数选择最优轨迹。该算法将车辆可达状态按纵向距离、横向偏移和速度等维度规则离散化,形成"格点"状态空间。 Lattice Planner通过三个主要步骤实现轨迹规划:1)终端状态采样,在规划时域内枚举多种驾驶意图;2)轨迹生成,使用五次多项式连接起点与各终

swaggytiger的博客 1624

基于价值的深度强化学习:DQN

本文主要是介绍DQN原理和算法伪代码和代码实现,算法实现包括pytorch版本和stable-baselines3版本

溯源的专栏 1085

Activiti之H2

//by yan 20211229 H2数据库误删Saved Settings 装上H2数据库后,操作失误,把Saved Settings列表里面的项目删除了,并进行了保存。想要恢复原设置的时候,发现卸载后重装也不行。 解决方法: 删除 ~/.h2.server.properties文件,重装H2即可 注意: 找不到路径的同学搜索“h2.server.properties”。 ~应该是指就是操作系统当前用户的目录 自行baidu 【~】的含义。 Activiti里的测试用例与h2数据库 JPAVariab

xyzroundo的专栏 1351

电力系统分析 | Matlab实现源荷场景生成---蒙特卡洛法场景生成启发式同步回带削减

电力系统分析 | Matlab实现源荷场景生成---蒙特卡洛法场景生成启发式同步回带削减

前程算法屋的博客 812

H2内嵌数据库自动建库设置

h2数据库自动建库

WEB Developer Note 1273

弱网、高热、只有 32MB 内存:恶劣环境下嵌入式 SoC 音视频开发的“不死”法则

永远不要假设。你申请一个 1920 宽的图像,硬件为了对齐(比如 16 字节对齐或 256 字节对齐),实际分配的一行可能有 1936 甚至是 2048 字节。那个多出来的部分叫Padding。如果你写代码时用来计算数据量,或者用Width来做指针偏移:恭喜你,你的画面会像被风吹歪的百叶窗一样,产生斜切畸变。永远使用VB_CONF结构体里返回的u32Stride字段。这是区分新手和老手的试金石。第六章 ISP 调优(Tuning)实战:为什么你调出的画面像个“鬼片”?

大模型大数据攻城狮的专栏 1769

机器人学(三):手眼标定

主要讲了eye-to-hand的手眼标定求解算法,包括AX=XB和AX=YB两种情况,包含SVD法、Tsai-Lenz法、最小二乘法等,从原理到解法再到算法代码实现,包括matlab代码、C++代码、库的使用等,简单明了,容易在实际项目中进行应用

行者无疆的博客 2554

oracle user_users,dba_users,all_users

oracle user_users,dba_users,all_users  (2010-07-26 09:34:44) 转载▼ 标签:  杂谈   here are from the oracle doc: ALL_USERS ALL_USERS lists all users of the database vis

evilcry2012的专栏 2040

Windows下Anaconda和PyTorch深度学习环境完整安装配置教程

本文详细介绍了在Windows系统下安装配置PyTorch深度学习环境的完整流程。主要内容包括:硬件环境检查(确认GPU支持)、Anaconda环境管理系统的安装与配置、虚拟环境的创建与管理方法、以及PyTorch及其相关组件的安装指南。特别强调了版本兼容性选择策略(如CUDA版本的确定)、显卡驱动更新、使用Anaconda创建隔离的PyTorch专用环境等关键步骤。无论是使用CPU还是GPU版本,读者都能按照教程快速搭建稳定的PyTorch开发环境,为深度学习项目打下坚实基础。

FJN110的博客 973

oracle用户密码规则,Oracle数据库密码策略及规则

今天我们来说下Oracle数据库的密码规则及策略:–修改密码alter user FINCHINA account unlock identified by finRTg6;–查询user是否锁定、及时间SELECT USERNAME,ACCOUNT_STATUS,LOCK_DATE,CREATED,PROFILE FROM DBA_USERS WHERE USERNAME=‘USER’;–查询用...

weixin_35695430的博客 2971

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

jre9下载 jdk9

(Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】

Oracle - 常用系统视图介绍,快速查看数据库基础信息

Oracle 数据库作为企业级关系型数据库的标杆,其强大、稳定与可扩展性广受信赖。而支撑其运维、调优与诊断能力的核心之一,正是丰富且结构严谨的数据字典(Data Dictionary)与动态性能视图(Dynamic Performance Views,又称 V$ 视图)。这些系统视图是 Oracle 内核暴露给 DBA 和开发人员的“透明窗口”——无需重启、无需侵入式探针,仅凭标准 SQL 查询,即可实时获取实例状态、对象元数据、会话活动、锁资源、表空间使用、执行计划缓存等关键信息。本文将系统梳理 30+

千淘万漉虽辛苦,吹尽狂沙始到金 1万+

VB摄像头监控

该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

oracle select语句

查询当前用户的表格~ select table_name from user_tables; 查询所有用户的表名~ select table_name from all_tables; 查询用户~  dba_users需要用户有权限 select * from all_users; select * from user_users; select * from dba

Z大钊 589

VC中sqlite的使用

在VC中对sqlite的使用,实现数据库大批数据的快速插入,读取数据库中的数据在ListCtrl中显示

Oracle 体系结构(29)—— Oracle 的数据字典之(三):和用户管理有关的数据字典

Oracle 体系结构(29)—— Oracle 的数据字典之(三):和用户管理有关的数据字典 Oracle 和用户管理相关的数据字典主要有三个:DBA_USERS、USER_USERS、ALL_USERS 一、DBA_USERS 该数据字典用于查询 Oracle 的所有用户信息,该数据字典的结构如下: SQL> desc DBA_USERS; Name Null? Type ---------------------------------------------

睿思达DBA 1144

Oracle数据库介绍

Oracle是一种广泛使用的关系数据库管理系统(RDBMS),由甲骨文公司(Oracle Corporation)开发和销售。Oracle数据库在企业级应用中非常流行,主要因为其强大的性能、可靠性、安全性和可扩展性。所有权限,如果指定权限(GRANT SELECT, INSERT, UPDATE, DELETE)删除用户(如果用户拥有对象,可以使用CASCADE选项)Oracle数据库的基本概念。Oracle数据库的架构。

m0_56363537的博客 1071

如何使用github安装Oracle 数据库Sample Schema (示例Schema)

GitHub最方便了: 在Oracle用户下: cd ~ sudo git clone https://github.com/oracle/db-sample-schemas.git 查看目录: [oracle@oracle-12201-vagrant ~]$ cd db-sample-schemas/ [oracle@oracle-12201-vagrant db-sample-schema...

In-Memory Computing Technology 2747

oracle 查看过程的用户,排查oracle数据库中隐藏的用户过程演示以及原理分析

作为一个oracle运维人员,我们日常需要排查,看系统中的用户是否都是我们正在使用的用户,以防止有人恶意建立用户,从而使得业务数据的系统。 我们一般都是通过查询dba_users来查看当前系统中的用户。如:select username from dba_users;其实这种并不能完全显示我们系统中存在的用户,我来做如下演示:SQL>selectusernamefromdba_use...

weixin_42458282的博客 359

【oracle笔记】dba_ all_ user_ 表视图

ALL_USERS lists all users of the database visible to the current user. This view does not describe the users (see the related views).DBA_USE

931
上一篇: Ziddu - 能帮你赚美元的无限空间免费网络硬盘
下一篇: resource_limit
Xviewee
博客等级 码龄20年 78粉丝 236原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值