TMAegis
Thêm quy tắc cho macos

TMA-MACOS-2.11.4

Ensure Login Window Displays as Name and Password Is Enabled

CaoCấp 1Tự độngmacos

Mô tả

The login window prompts a user for his/her credentials, verifies their authorization level, and then allows or denies the user access to the system.

Cách kiểm tra

Phương pháp kiểm tra: Lệnh shell

shell
/usr/bin/osascript -l JavaScript <<'EOS'
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.loginwindow').objectForKey('SHOWFULLNAME').js
EOS
Đầu ra mong đợi
true

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

Profile (preferred): com.apple.loginwindow SHOWFULLNAME = <true/>. Terminal: sudo /usr/bin/defaults write /Library/Preferences/com.apple.loginwindow SHOWFULLNAME -bool true. GUI: System Settings > Lock Screen > Set 'Login window shows' to Name and Password.

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.11.4 Ensure Login Window Displays as Name and Password Is Enabled

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.

shell
tmaegis scan --target macos