Accidentally changed the user id and can not access to files and applications
I accidentally changed the user id, in Mac from 501 to 558 and now I can’t access to files and applications, so I restart the Mac, and can not access to users and groups in settings also, it asking to sign in Apple ID , but when I sign it gives error with tittle “unknown error”, tried to change the user id from terminal and recovery mode , also not helped
MacBook Pro 16″, macOS 14.1