Last active
January 29, 2021 03:38
-
-
Save porteusconf/2ec6cec575eb7ca08b989962cf72d6ec to your computer and use it in GitHub Desktop.
dscl commands for macos to create new admin user (must be run with sudo). And 1-liner to find 32-bit macos apps.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dscl . -create /Users/tts-setup NFSHomeDirectory /Local/Users/tts-setup | |
dscl . -passwd /Users/tts-setup xxxxxxxx | |
dscl . -append /Groups/admin GroupMembership tts-setup | |
id tts-setup | |
### uid=1007(tts-setup) gid=80(admin) groups=80(admin),12(everyone),61(localaccounts)... | |
mdfind "kMDItemExecutableArchitectures == '*i386*' && kMDItemExecutableArchitectures != '*x86*'" |
Author
porteusconf
commented
Jan 29, 2021
HowTo do detailed find-and-fix permsissions in home dir on macos.
PermissionScanner 1.8 for macOS Sierra, High Sierra, Mojave, Catalina & Big Sur Documentation
Howard Oakley https://eclecticlight.co
What you needA Mac running macOS Sierra, High Sierra, Mojave, Catalina or Big Sur. This version has been built to be fully compatible with privacy protection in Mojave and later.A copy of the latest version of PermissionScanner from https://eclecticlight.co/ downloads/ (this is delivered by secure HTTPS download).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment