Linux User Accounts

This section provides information about Linux user accounts that are provisioned on Oracle Database Classic Cloud Service.

Every Database Classic Cloud Service compute node is provisioned with the following operating system user accounts.

User Description

opc

The system administrator account you use with the sudo command to perform operations that require root-user access.

oracle

The Oracle Database administrator account you use to access the system and perform non-root database administration tasks. A home directory, /home/oracle, is created for this user. This user cannot use the sudo command to perform operations that require root-user access.

root

The root administrator for the system. You do not have direct access to this account. To perform operations that require root-user access, use the sudo command as the opc user.

The following environment variables are created for the opc and oracle users.

Variable Description

HOME

The home directory of the user, either /home/opc or /home/oracle.

HOSTNAME

The host name of the compute node.

LANG

The system language, en_US.UTF-8.

OH

Short form for ORACLE_HOME.

ORACLE_HOME

The Oracle Database home directory:

  • Oracle Database 18c: /u01/app/oracle/product/18.0.0/dbhome_1

  • Oracle Database 12c Release 2: /u01/app/oracle/product/12.2.0/dbhome_1

  • Oracle Database 12c Release 1: /u01/app/oracle/product/12.1.0/dbhome_1

  • Oracle Database 11g Release 2: /u01/app/oracle/product/11.2.0/dbhome_1

ORACLE_SID

The database system identifier (SID) provided during the database deployment creation process.

PATH

The paths to search for executables; set to include:

  • /sbin

  • /usr/sbin

  • /bin

  • /usr/bin

  • $ORACLE_HOME/bin

  • $ORACLE_HOME/OPatch

  • $HOME

SHELL

The default shell, /bin/bash.

USER

The user name, either opc or oracle.