How to Delete a User Account on macOS?
Published in
1 min readJun 11, 2020
Also include hidden administrator account
1. Follow the command to Delete a User Account
$ sudo /usr/bin/dscl . -delete /Users/<USER_ACCOUNT>
$ sudo /usr/bin/dscl . -delete /Users/dylan
2. List all User Accounts
$ /usr/bin/dscl . -list /Users
3. Show a User Account Information
$ /usr/bin/dscl . -read /Users/<USER_ACCOUNT>
$ /usr/bin/dscl . -read /Users/dylan