[Oracle RAC 12.1 Installation on Oracle Linux 6.7 (ISCSI + ASM)]: Creating oracle12 user and administrative groups


Server: rac1, rac2

Create groups:

# groupadd -g 1000 oinstall
# groupadd -g 1001 dba
# groupadd -g 1002 oper

Create groups for working with ASM.

OSASM Group

# groupadd -g 1003 asmadmin

OSDBA Group

# groupadd -g 1004 asmdba

OSOPER Group

# groupadd -g 1005 asmoper

Create the oracle12 user, specify that they will be members of the dba and oinstall groups, and their home directory will be /home/oracle12

# useradd -g oinstall -G dba,oper,asmadmin,asmdba,asmoper -d /home/oracle12 oracle12

Set the password for the oracle12 user

# passwd oracle12