Page Contents
Configuracione inicial Data
- Versión redhat-release CentOS release 6.9 (Final) inicialmente con 207 paquetes.
- Servicios instalados
[root@data network-scripts]# chkconfig --list|grep :on auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off blk-availability 0:off 1:on 2:on 3:on 4:on 5:on 6:off crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off ip6tables 0:off 1:off 2:on 3:on 4:on 5:on 6:off iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off iscsi 0:off 1:off 2:off 3:on 4:on 5:on 6:off iscsid 0:off 1:off 2:off 3:on 4:on 5:on 6:off lvm2-monitor 0:off 1:on 2:on 3:on 4:on 5:on 6:off mdmonitor 0:off 1:off 2:on 3:on 4:on 5:on 6:off netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off network 0:off 1:off 2:on 3:on 4:on 5:on 6:off postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off rsyslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off udev-post 0:off 1:on 2:on 3:on 4:on 5:on 6:off
- Editar /etc/sysconfig/network-scripts/ifcfg-eth0-1 y /etc/resolv.conf
- Claves publicas en root, no funcionaba por SElinux restorecon -Rv ~/.ssh
mkdir /root/.ssh hmod -R go-rwx .ssh cat authorized_keys >> .ssh/authorized_keys chmod go-rw /root/.ssh/authorized_keys
Configuracione inicial spock
- Crear MV
- Se instala openssh-server y se configura public keys , no funcionaba por SElinux restorecon -Rv ~/.ssh se comprobó en cliente con ssh ···@··· -v y en servidor apagando servicio y arrancdo /usr/sbin/ssh -d. SElinux esta activo.
[root@spock2 ~]# setenforce permissive [root@spock2 ~]# sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode: permissive Mode from config file: enforcing Policy version: 24 Policy from config file: targeted [root@spock2 ~]# setenforce enforcing
- Se crear user ansible y se añade a grupo wheel
Last modified 5 years ago
Last modified on Jun 17, 2017 12:15:06 PM