Create the user oracle and groups dba and oinstall

On both the Application and Database servers (if applicable) where you intend to install Oracle software, you must create an account that will own the software. For M3 Business Engine we require the account name oracle.

The oracle account needs two groups dba and oinstall. Members of the dba group can administrate Oracle databases. The oinstall group is often needed for organizations that have separate groups that maintain the software and the databases.

Create the user oracle and groups dba and oinstall

  1. Log on as root.
  2. Run the following commands:
    # mkgroup dba
    # mkgroup oinstall
    # mkuser pgrp=dba home='/u01/app/oracle' shell='/usr/bin/ksh' groups=dba,oinstall oracle
    # echo oracle:oracle | chpasswd —f ADMCHG
    # mkdir /u01/app/oracle/tmp
    # chown oracle:dba /u01/app/oracle/tmp
    # chmod 775 /u01/app/oracle/tmp
  3. The user lcm is running an application that uses the Oracle binaries, therefore the dba and oinstall groups must be added to lcm as secondary groups.

    Run the following commands:

    # chgrpmem —m + lcm dba
    # chgrpmem —m + lcm oinstall