Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

USUARIOS

useradd -m -c "Administrador DBA - Abel Ovejero" -g dba -u 1010 aovejero


useradd -m -c "Administrador DBA - Hernan Podesta" -g dba -u 1013 hpodesta
useradd -m -c "Administrador DBA - Alejandro Alegre " -g dba -u 1011 ad850279
useradd -m -c "Administrador DBA - Pablo Calcina" -g dba -u 1012 ad388906

SUDOERS

#User alias specification


User_Alias ADMINS = rlafuent, ad583871, ad373971, ad659743
User_Alias DBAS = hpodesta, aovejero, ad850279, ad388906
User_Alias GRID = grid

# Cmnd alias specification


Cmnd_Alias SESSREG = /usr/bin/su - [A-Za-z]*, /usr/bin/su -
Cmnd_Alias SESSREGDBA= /usr/bin/su - oracle, /usr/bin/su - grid
Cmnd_Alias SESSREGGRID = /u01/app/18/grid/bin/*, /u01/app/18/grid/OPatch/*

#Defaults restrict
ADMINS ALL=(ALL) NOPASSWD: ALL
ADMINS ALL=(ALL) NOPASSWD: LOG_OUTPUT: EXEC: SESSREG
DBAS ALL=(oracle) NOPASSWD: ALL
DBAS ALL=(root) NOPASSWD: LOG_OUTPUT: EXEC: SESSREGDBA
DBAS ALL=(grid) NOPASSWD: ALL
DBAS ALL=(root) NOPASSWD: LOG_OUTPUT: EXEC: SESSREGDBA
GRID ALL=(root) NOPASSWD: EXEC: SESSREGGRID

USER LIMITS
"oracle soft stack 10240" >> /etc/security/limits.d/20-nproc.conf

"grid soft nofile 4096


grid hard nofile 65536
grid soft memlock unlimited
grid hard memlock unlimited
oracle soft nofile 4096
oracle hard nofile 65536
oracle soft memlock unlimited
oracle hard memlock unlimited" >> /etc/security/limits.conf

KERNEL

"kernel.sem = 250 32000 100 128


kernel.shmall = 2042002
kernel.shmmax = 10455054336
kernel.shmmni = 4096
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65535
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
fs.aio-max-nr = 1048576
kernel.panic_on_oops = 1" >> /etc/sysctl.conf

You might also like