About the Operating System Groups and Users Required for Installing Enterprise Manager Cloud Control
The following operating system group and user are required for all installation types:
You must create this group the first time you install Oracle software on the system. The default name chosen for this group is
oinstall. This group owns the Oracle inventory that is a catalog of all Oracle software installed on the system.
If Oracle software is already installed on the system, then the existing Oracle Inventory group must be the primary group of the operating system user that you use to install other Oracle software.
You must create this user the first time you install Oracle software on the system. This user owns all of the software installed during the installation. This user must have the Oracle Inventory group as its primary group.
In Oracle documentation, this user is referred to as the
A single Oracle Inventory group is required for all installations of Oracle software on the system. After the first installation of Oracle software, you must use the same Oracle Inventory group for all subsequent Oracle software installations on that system.
Note:If your operating system is Microsoft Windows, then ensure that the following are complied with:
The OMS user account has permissions and rights to act as part of the operating system, adjust memory quota for a process, replace process level token, and log on as a batch job. To verify whether the OMS user account has these rights, launch the Local Security Policy. From the Start menu, click Settings and then select Control Panel. From the Control Panel window, select Administrative Tools, and from the Administrative Tools window, select Local Security Policy. In the Local Security Policy window, from the tree structure, expand Local Policies, and then expand User Rights Assignment.
The OMS user account has read and execute permission to run the batch job. This is a restriction from Microsoft. For more information on this restriction and to understand how to grant these permissions, access the following URL to Microsoft Web site:
Creating the Operating System Groups and Users Required for Installing Enterprise Manager Cloud Control
The following sections describe how to create the required operating system users and groups:
As an alternative to creating local users and groups, you can create the appropriate users and groups in a directory service, for example, Network Information Services (NIS). For information about using directory services, contact your system administrator or refer to your operating system documentation.
Creating the Oracle Inventory Group for Enterprise Manager Cloud Control
You must create the Oracle Inventory group if it does not already exist. The following subsections describe how to determine the Oracle Inventory group name if it exists, and how to create it if necessary.
Determining Whether the Oracle Inventory Group Already Exists for Enterprise Manager Cloud Control
When you install Oracle software on the system for the first time, the
oraInst.loc file is created. This file identifies the name of the Oracle Inventory group and the path to the Oracle Inventory directory.
$ more /etc/oraInst.loc
the oraInst.loc file is available in the
/etc directory for Linux and other platforms. On Solaris platforms, it is available at
oraInst.loc file exists, then the output from this command looks like:
inst_group parameter shows the name of the Oracle Inventory group,
Creating the Oracle Software Owner User for Enterprise Manager Cloud Control
You must create an Oracle software owner user in the following circumstances:
If an Oracle software owner user does not exist, for example, if this is the first installation of Oracle software on the system.
If an Oracle software owner user exists, but you want to use a different operating system user, with different group membership, to give database administrative privileges to those groups in a new Oracle Database installation.
To create an Oracle software owner, follow the steps outlined in these sections:
Determining Whether an Oracle Software Owner User Already Exists for Enterprise Manager Cloud Control
To determine whether an Oracle software owner user named
oracle exists, run the following command:
$ id oracle
oracle user exists, then the output from this command looks like this:
uid=440(oracle) gid=200(oinstall) groups=201(dba),202(oper)
If the user exists, then determine whether you want to use the existing user or create another
To use the existing user, ensure that the user's primary group is the Oracle Inventory group.
To modify an existing user, refer to Modifying an Oracle Software Owner User for Enterprise Manager Cloud Control.
To create a user, refer to Creating an Oracle Software Owner User for Enterprise Manager Cloud Control.
If necessary, contact your system administrator before using or modifying an existing user.
Creating an Oracle Software Owner User for Enterprise Manager Cloud Control
If the Oracle software owner user does not exist or if you require a new Oracle software owner user, then follow these steps to create one. In the following procedure, use the user name
oracle unless a user with that name already exists.
- To create the
oracleuser, enter a command similar to the following:
# /usr/sbin/useradd -g oinstall oracle
In this command, the
-goption defines the primary group, which must be the Oracle Inventory group, for example
- Set the password of the
# passwd oracle
Oracle recommends you to use the same UIDs across all the OMS instances, especially when you use Oracle Software Library. If the UIDs are different, then the files created by one OMS cannot be modified by another OMS.