TMAegis
Más reglas para aix

TMA-AIX-4.8.2

Ensure root user default shell is ksh

AltaNivel 1Automatizadaaix

Descripción

Ensure that the shell for the root user is set to /usr/bin/ksh Although the bash shell is available there are administrative processes that require the root user to be configured with the ksh shell as its default shell. Audit: automated read-only check derived from the CIS audit procedure; it prints "compliant" when the control is met.

Cómo se verifica

Método de auditoría: Comando de shell

shell
command -v lsuser >/dev/null 2>&1 || exit 1; lsuser -a shell root 2>/dev/null
Salida esperada
root shell=/usr/bin/ksh

Cómo se corrige

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

Execute the following command chuser shell=/usr/bin/ksh root

Propiedades

Sistemas operativos
Cualquiera
Etiquetas
aixaccounts
Referencia
CIS IBM AIX 7 Benchmark v1.2.0 - 4.8.2 Ensure root user default shell is ksh

Verificar este host

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

shell
tmaegis scan --target aix