I ran the command sudo dscl . -change /Users/YourUserName UniqueID 503 1001
while I was logged in as YourUserName
. If I try to change it back with sudo dscl . -change /Users/YourUserName UniqueID 1001 503
I get an eDSPErmissionError
. Any idea how I can change the ID back?
Asked
Active
Viewed 381 times
1

Michael Chen
- 11
- 1
.AppleSetupDone
may be on a different volume (I've added comments under some answers about this). Also, it might create a new admin acct with the old ID, which would complicate things. – Gordon Davisson Jul 02 '21 at 21:44