IBM AIX
TMA-AIX-5.2.12
Ensure minother is configured
MediumLevel 1Automatedaix
Description
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`.
How it is checked
Audit method: Shell command
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- Expected output
compliant
How it is fixed
Fix method: Shell command
shell
chsec -f /etc/security/user -s default -a minother=3Properties
- Operating systems
- Any
- Tags
- aixpassword-policy
- Reference
- CIS IBM AIX 7 Benchmark v1.2.0 - 5.2.12 Ensure minother is configured
Check this host
Run this on a machine you are allowed to audit. The scan is read-only.
shell
tmaegis scan --target aix