How to manage Oracle users on AIX?
Managing Oracle users on AIX (AIX) is about properly creating, securing, and controlling OS-level accounts that run Oracle software on IBM Power Systems. These users are critical because Oracle relies heavily on UNIX permissions, groups, and environment isolation.
In enterprise Oracle setups, you typically have:
Create standard OS groups:
oinstall → software installation group
dba → database administrators
oper → limited DB operations
asmadmin → ASM administration
asmdba → ASM database access
asmoper → limited ASM operations
👉 These groups control privilege separation.
mkgroup dba
mkgroup oinstall
mkgroup asmadmin
mkuser pgrp=oinstall groups=dba,oper oracle
mkuser pgrp=oinstall groups=asmadmin,asmdba grid
For oracle user:
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/19c/dbhome_1
export ORACLE_SID=orcl
export PATH=$ORACLE_HOME/bin:$PATH
👉 Ensures Oracle runs in correct environment.
👉 Prevents unauthorized database access.
Edit limits for Oracle users:
vi /etc/security/limits
Recommended settings:
nofiles → high open file limit (e.g., 65536+)
nproc → sufficient processes
fsize → unlimited or large
👉 Prevents Oracle resource exhaustion errors.
Ensure correct ownership:
oracle:oinstall
grid:oinstall
oracle:dba
Example:
chown -R oracle:oinstall /u01/app/oracle
chmod -R 775 /u01/app/oracle
With ASM:
grid user manages ASM instance
oracle user accesses ASM via asmdba group
👉 Separation improves security and stability.
Common practice:
su - oracle
su - grid
👉 Always switch to correct user before database operations.
On AIX, monitor usage:
ps -ef | grep oracle
ps -ef | grep asm
topas → process CPU usage
👉 Helps identify runaway processes.
In Oracle RAC:
👉 Ensures smooth cluster coordination.
On IBM PowerVM:
Enterprise Oracle on AIX:
oracle user → runs 2 database instances
grid user → manages ASM + RAC cluster
/u01 storage mounted on all nodes
👉 Result:
Managing Oracle users on AIX involves:
oracle and grid users
ulimit)