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, search


  1. Modify the pam.d login file to use limits.
    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
    
  2. Change the password for the oracle user to racattack.
    [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.
    
  3. Create and change the ownership of the directories for Clusterware and the Database installations.
    [root@collabn1 ~]# mkdir -p /u01/app
    [root@collabn1 ~]# chown oracle:oinstall /u01/app
    
  4. Modify the Oracle user so that it belongs to the vboxsf group.
    [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)