check code signature / check whether app is allowed to run
## verify code signature of an app bundle (including embedded frameworks/libraries)
codesign --verify--verbose--deep/Applications/appToCheck.app
## check if Gate Keeper would allow execution of an app
spctl --verbose--assess--type execute /Applications/appToCheck.app
## check whether an app was notarized by Apple (required as of macOS 10.15)
codesign --test-requirement="=notarized"--verify--verbose/Applications/appToCheck.app
defaults write com.apple.dock persistent-apps -array-add'{"tile-type"="spacer-tile";}'; killall Dock
defaults write com.apple.dock persistent-apps -array-add'{"tile-type"="small-spacer-tile";}'; killall Dock
check the recovery key of FileVault disk encryption
fdesetup status
sudo fdesetup validaterecovery
## you would probably want to do that after you completed## setting up your new Mac and reassure yourself that the## master key you've written down is correct
Cookies helfen bei der Bereitstellung von Inhalten. Durch die Nutzung dieser Seiten erklären Sie sich damit einverstanden, dass Cookies auf Ihrem Rechner gespeichert werden. Weitere Information
commands-macos.txt · Zuletzt geändert: 2020/04/27 15:45 von alex