Groups:
The Oracle Inventory group (
oinstall
)The OSDBA group (
dba
)User
The Oracle software owner (
oracle
) Pre-requisite
export PATH=/usr/sbin:$PATH.
Adding the Groups
groupadd oinstall
groupadd dba
Adding User
adduser -g oinstall -G dba -p password -d /home/oracle -s /bin/bash oracle
Lock The Oracle User:
passwd -l oracle
Creating the Oracle Base and Home Directory
mkdir -p /u01/app/oracle
chown -R oracle:dba /u01
No comments:
Post a Comment