TMAegis
Više pravila za aix

TMA-AIX-4.8.2

Ensure root user default shell is ksh

VisokaNivo 1Automatskaaix

Opis

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.

Kako se proverava

Metod provere: Komanda ljuske

shell
command -v lsuser >/dev/null 2>&1 || exit 1; lsuser -a shell root 2>/dev/null
Očekivani izlaz
root shell=/usr/bin/ksh

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

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

Svojstva

Operativni sistemi
Bilo koji
Oznake
aixaccounts
Referenca
CIS IBM AIX 7 Benchmark v1.2.0 - 4.8.2 Ensure root user default shell is ksh

Proverite ovaj računar

Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.

shell
tmaegis scan --target aix