Changed user id from 502 to 501 and now I cannot access Users and Groups
I got a new MacBook and I created a new administrator user but I couldn't change this icon of user (edit button wasn't coming on when I hover mouse over the icon and whenever I click it, nothing was happening). so I made a new user with administrator privileges, logged in to new account and deleted the first admin user. after that I changed the user id of newly created user to 501 from 502. now I can login using new user but whenever I click on Users and Groups in settings nothing is happening, Users and Groups screen is not coming up. also I'm having tons of new problems. I cannot sign out apple id from my MacBook. I cannot factory reset because it tries to sign out from apple id but it gives an error "the operation couldn't be completed. (AKAuthenticationError error -7001).
MacBook Pro 14″, macOS 13.3