Create user:
useradd oracle_user
create password:
passwd oracle_user
Create group:
groupadd oracle_group
Put the user in the specified group:
usermod –g oracle_group oracle_user
Grant root privileges:
Use the vi /etc/sudoers command, enter i, modify the /etc/sudoers file, find the following line, and add a line under root, as shown below:
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
oracle_user ALL=(ALL) ALL