macOS
TMA-MACOS14-2.10.4
Ensure Login Window Displays as Name and Password Is Enabled
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. Prompting the user to enter both their username and password makes it twice as hard for unauthorized users to gain access to the system since they must discover two attributes.
Cách kiểm tra
Phương pháp kiểm tra: Lệnh 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
Graphical Method: Perform the following steps to ensure the login window display name and password: 1. Open System Settings 2. Select Lock Screen 3. Set 'Login window shows' to Name and Password Terminal Method: Run the following command to enable the login window to display name and password: % /usr/bin/sudo /usr/bin/defaults write /Library/Preferences/com.apple.loginwindow SHOWFULLNAME -bool true Note: The GUI will not display the updated setting until the current user(s) logs out. Profile Method: Create or edit a configuration profile with the following information: 1. The PayloadType string is com.apple.loginwindow 2. The key to include is SHOWFULLNAME 3. The key must be set to <true/>
Thuộc tính
- Hệ điều hành
- macos-14
- Thẻ
- authloggingmacossonoma
- Tham chiếu
- CIS Apple macOS 14.0 Sonoma Benchmark v3.1.0 - 2.10.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.
tmaegis scan --target macos