TMAegisBeta
Más reglas para solaris

Oracle Solaris

TMA-SOLARIS-6.16

Restrict root Login to System Console

AltaNivel 1Automatizadasolaris

Descripción

Privileged access to the system via root must be accountable to a particular user. Use an authorized mechanism such as RBAC and the su command to provide administrative access to unprivileged accounts. These mechanisms provide an audit trail in the event of problems. Audit: pattern match on /etc/default/login as described in the CIS audit procedure.

Cómo se verifica

Método de auditoría: Patrón de archivo

Archivo
/etc/default/login
Patrón
(?m)^CONSOLE=/dev/console\s*$

Cómo se corrige

Método de corrección: Guía o parche de infraestructura

Perform the following to implement the recommended state: # cd /etc/default # awk '/CONSOLE=/ { print "CONSOLE=/dev/console"; next }; { print }' login > login.CIS # mv login.CIS login

Propiedades

Sistemas operativos
Cualquiera
Etiquetas
solarisaccounts
Referencia
CIS Oracle Solaris 11.4 Benchmark v1.1.0 - 6.16 Restrict root Login to System Console

Verificar este host

Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.

shell
tmaegis scan --target solaris