IBM AIX
TMA-AIX-5.2.16
Ensure minupperalpha is configured
MoyenneNiveau 1Automatiséeaix
Description
Defines the minimum number of upper case alphabetic characters in a password. In setting the minupperalpha attribute, the password must contain an upper case alphabetic character when it is changed by the user. Audit: reads `lssec -f /etc/security/user -s default -a minupperalpha`.
Méthode de vérification
Méthode d'audit: Commande shell
shell
command -v lssec >/dev/null 2>&1 || exit 1; out=$(lssec -f /etc/security/user -s default -a minupperalpha 2>/dev/null) || exit 1; v=$(printf '%s\n' "$out" | sed -n 's/.*minupperalpha=\([^ ]*\).*/\1/p'); if [ -n "$v" ] && [ "$v" -ge 1 ]; then echo compliant; else echo "minupperalpha=$v"; fi- Sortie attendue
compliant
Méthode de correction
Méthode de correction: Commande shell
shell
chsec -f /etc/security/user -s default -a minupperalpha=1Propriétés
- Systèmes d'exploitation
- Tous
- Étiquettes
- aixpassword-policy
- Référence
- CIS IBM AIX 7 Benchmark v1.2.0 - 5.2.16 Ensure minupperalpha is configured
Vérifier cet hôte
Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.
shell
tmaegis scan --target aix