Configuring Users, Groups and Environments for Oracle Database Client
Before installation, create operating system groups and users, and configure user environments.
Required Operating System Groups and Users
Oracle installations require an installation owner, a shared Oracle Inventory group—typically oinstall—and one or more operating-system groups for database or Grid Infrastructure privileges. Administrators should verify whether /etc/oraInst.loc identifies an existing central inventory, ensure its group and write permissions remain valid, and reuse that inventory for all installations without placing it under the Oracle base directory. If no inventory exists, create the inventory group manually. Installation owners such as oracle and grid must use the inventory group as their primary group; the database owner also requires appropriate secondary groups including OSDBA and any configured OSOPER, backup, Data Guard, RAC, or key-management groups. Verify existing accounts and group memberships with /etc/group and id, and ensure the grid user belongs to racdba for Oracle Restart installations.
Read More: Required Operating System Groups and Users
Creating an Oracle Software Owner User
Before installation, create an Oracle software owner account if one does not already exist, preferably using a separate owner for each Oracle software product. For example, create oracle with a specified user ID, oinstall as the primary group, and dba as a secondary group using useradd; record the user ID for preinstallation checks. Oracle Grid Infrastructure installations require user and group IDs to be consistent across all candidate cluster nodes.
Read More: Creating an Oracle Software Owner User
Configuring Software Owner User Environments
Configure each oracle or grid installation owner before running the installer by setting umask 022, appropriate file-descriptor and process limits, and a valid DISPLAY value for graphical installations. Update the correct shell startup file, remove Oracle-specific variables such as ORACLE_SID, ORACLE_HOME, ORACLE_BASE, ORA_NLS10, TNS_ADMIN, and especially ORA_CRS_HOME unless explicitly directed by Oracle Support, and remove Oracle home paths from PATH. Reload and verify the environment, ensuring the umask is 022, and configure TMP and TMPDIR on a local filesystem with at least 1 GB of space when /tmp is insufficient; shared temporary filesystems are not permitted for Oracle RAC installations.
Read More: Configuring Software Owner User Environments