TMAegis
Другие правила для aix

IBM AIX

TMA-AIX-5.2.12

Ensure minother is configured

СреднийУровень 1Автоматическаяaix

Описание

Defines the number of characters within a password which must be non-alphabetic. In setting the minother attribute, it increases password complexity by enforcing the use of non-alphabetic characters in every user password. Audit: reads `lssec -f /etc/security/user -s default -a minother`.

Как проверяется

Метод проверки: Команда оболочки

shell
command -v lssec >/dev/null 2>&1 || exit 1; out=$(lssec -f /etc/security/user -s default -a minother 2>/dev/null) || exit 1; v=$(printf '%s\n' "$out" | sed -n 's/.*minother=\([^ ]*\).*/\1/p'); if [ -n "$v" ] && [ "$v" -ge 3 ]; then echo compliant; else echo "minother=$v"; fi
Ожидаемый вывод
compliant

Как исправляется

Метод исправления: Команда оболочки

shell
chsec -f /etc/security/user -s default -a minother=3

Свойства

Операционные системы
Любая
Теги
aixpassword-policy
Источник
CIS IBM AIX 7 Benchmark v1.2.0 - 5.2.12 Ensure minother is configured

Проверить этот хост

Выполните команду на компьютере, аудит которого вам разрешён. Сканирование работает только на чтение.

shell
tmaegis scan --target aix