RAC Attack - Oracle Cluster Database at Home/RAC Attack 12c/Prepare Linux for Oracle

From Wikibooks, open books for an open world
Jump to navigation Jump to search


  1. Modify the pam.d login file to use limits.
  2. sed -i -e '/session    required     pam_selinux.so open/i\
    session    required     \/lib64\/security\/pam_limits.so\
    session    required     pam_limits.so' /etc/pam.d/login
    
  3. Change the password for the oracle user to racattack.
  4. [root@collabn1 ~]# passwd oracle Changing password for user oracle. New password: BAD PASSWORD: it is based on a dictionary word Retype new password: passwd: all authentication tokens updated successfully.
  5. Create and change the ownership of the directories for Clusterware and the Database installations.
  6. [root@collabn1 ~]# mkdir -p /u01/app [root@collabn1 ~]# chown oracle:oinstall /u01/app
  7. Modify the oracle user so that it belongs to the vboxsf group.
  8. [root@collabn1 ~]# usermod -G oinstall,dba,vboxsf oracle [root@collabn1 ~]# id oracle uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(vboxsf)