TMA-MACOS-2.12.1
Ensure Users' Accounts Do Not Have a Password Hint
Mô tả
Password hints help the user recall their passwords for various systems and/or accounts. In most cases, password hints are simple and closely related to the user's password. Audit: Counts users that have any password hint text.
Cách kiểm tra
Phương pháp kiểm tra: Lệnh shell
out=$(/usr/bin/dscl . -list /Users hint 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/awk 'NF > 1 {n++} END {print n+0}'- Đầu ra mong đợi
0
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
Terminal: sudo /usr/bin/dscl . -list /Users hint . -delete /Users/<username> hint ; sudo /usr/bin/dscl . -list /Users hint . -delete /Users/firstuser hint ; sudo /usr/bin/dscl . -list /Users hint . -delete /Users/seconduser hint. GUI: System Settings > Touch ID & Passwords (or Login Password on non-Touch ID Macs) > Change > Change the password and ensure that no text is entered in the Password hint box.
Thuộc tính
- Hệ điều hành
- macos-26
- Thẻ
- macossystem-settings
- Tham chiếu
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.12.1 Ensure Users' Accounts Do Not Have a Password Hint
Kiểm tra máy này
Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.
tmaegis scan --target macos