macOS
TMA-MACOS-6.1.1
Audit Show All Filename Extensions
Mô tả
A filename extension is a suffix added to a base filename that indicates the base filename's file format. This is intended for any user that logs into the GUI and has a home folder and not for service accounts. For the audit, we will continue to verify that every account with a home folder has filename extensions enabled.
Cách kiểm tra
Phương pháp kiểm tra: Xem xét thủ công
GUI: Finder > Finder in the menu bar > Settings > Advanced > Verify that Show all filename extensions is set. Terminal: sudo -u <username> /usr/bin/defaults read /Users/<username>/Library/Preferences/.GlobalPreferences.plist AppleShowAllExtensions ; sudo -u firstuser /usr/bin/defaults read /Users/firstuser/Library/Preferences/.GlobalPreferences.plist AppleShowAllExtensions
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 -u <username> /usr/bin/defaults write /Users/<username>/Library/Preferences/.GlobalPreferences.plist AppleShowAllExtensions -bool true ; sudo killall Finder ; sudo -u seconduser /usr/bin/defaults write /Users/secondname/Library/Preferences/.GlobalPreferences.plist AppleShowAllExtensions -bool true. GUI: Finder > Finder in the menu bar > Settings > Advanced > Set Show all filename extensions to enabled.
Thuộc tính
- Hệ điều hành
- macos-26
- Thẻ
- macosapplications
- Tham chiếu
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 6.1.1 Audit Show All Filename Extensions