Linux User Accounts

This section provides information about Linux user accounts that are provisioned on Oracle Database Exadata Cloud at Customer.

Every Exadata Cloud at Customer compute node is provisioned with the following operating system user accounts.

User Description

opc

The system administrator account you use in conjunction with the sudo command to gain root user access to your compute nodes.

oracle

The Oracle Database administrator account you use to access the system and perform 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, execute sudo -s as the opc user.

grid

The Oracle Grid Infrastructure administrator account you use to perform ASM and Oracle Clusterware administration tasks. A home directory, /home/grid, is created for this user. This user cannot use the sudo command to perform operations that require root user access. You do not have direct access to this account. To perform operations that require grid user access, execute sudo -s as the opc user to get root access, and then execute su - grid to become the grid user.

The following environment variable settings are created for the opc, oracle and grid users.

Variable Description

HOME

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

HOSTNAME

The host name of the compute node.

LANG

The system language, en_US.UTF-8.

PATH

The paths to search for executables; set to include:

  • /sbin

  • /usr/sbin

  • /bin

  • /usr/bin

  • $HOME

SHELL

The default shell, /bin/bash.

USER

The user name, either opc, oracle or grid.

In addition, the following environment variable settings are created for the grid user only.

Variable Description

ORACLE_HOME

The Oracle Grid Infrastructure home directory: /u01/app/12.1.0.2/grid, /u01/app/12.2.0.1/grid, or /u01/app/18.0.0/grid.

ORACLE_SID

The ASM system identifier (SID) associated with the ASM instance on the compute node: +ASMN, where N is a unique number (1, 2, 3, and so on).

PATH

Additional paths to search for executables:

  • $ORACLE_HOME/bin

  • $ORACLE_HOME/OPatch