Database Administrator Security and Privileges
https://bestoracledbaonlinetraining.blogspot.com/2015/05/database-administrator-security.html
To perform
the all administrative tasks of an Oracle Database DBA, you need specific
privileges within the database and possibly in the operating system of the
server on which the database runs. Access to a database administrator's account
should be tightly controlled together.
This section
contains the following topics:
- The Database Administrator's
Operating System Account
- Database Administrator(DBA) Usernames
The
Database Administrator's Operating System Account
To perform
many of the administrative duties for a database, we must be able to execute
operating system commands. Depending on the operating system on which Oracle
Database is running, you might need an operating system account or ID to gain
access to the operating system. If so, your operating system account might
require operating system privileges or access rights that other database users
do not require (for example, to perform Oracle Database software installations).
Although you do not need the Oracle Database files to be stored in your
account, you should have access to them.
Database
Administrator Usernames
Two user accounts are automatically created when Oracle Database
is installed:
- SYS (default
password: CHANGE_ON_INSTALL)
- SYSTEM(default password: MANAGER)
First Create
at least one additional administrative user and grant to that user an
appropriate administrative role to use when performing daily administrative
tasks. Do not use SYS and SYSTEM for these purposes.
SYS
When you
create an Oracle Database, the user SYS is automatically created and granted
the DBA role. All of the
base tables and views for the database data dictionary are stored in the schema SYS. These base tables and views are
critical for the operation of Oracle Database. To maintain the integrity of the
data dictionary, tables in the SYS schema are manipulated only by the
database. They should never be modified by any user or database administrator,
and no one should create any tables in the schema of user SYS Ensure that most database users are
never able to connect to Oracle Database using the SYS account.
SYSTEM
When you
create an Oracle Database, the user SYSTEM is
also automatically created and granted the
DBA role.
The SYSTEM username is used to create
additional tables and views that display administrative information, and
internal tables and views used by various Oracle Database options and tools.
Never use the SYSTEM schema to store
tables of interest to non-administrative users.
The DBA Role
A predefined DBA
role is automatically created with
every Oracle Database installation. This role contains most database system
privileges. Therefore, the DBA role should be granted only to actual database
administrators.