I did a silly thing by renaming the
/etc folder. I was asked for the admin password to change the folder's name. But it's not possible to rename it back to
/etc. As if my password was wrong.
I assume the association between password and username is stored in this folder. I can still change the admin's password in the system settings. But I can't login to the advanced options that expect admin rights.
Unfortunately I don't have a recent time machine backup to replace the
Now I'm concerned about rebooting my Mac, as I'm not sure if I'll be able to login again.
How do I fix this issue?