I messed up bad, real bad.
I accidentally deleted the symbolic link to my
/etc directory. Now I can't create another one because I keep getting an error:
$ sudo ln -s /private/etc /etc sudo: unable to stat /etc/sudoers: No such file or directory sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin
Any help would be appreciated, thanks.
ls -l /etc:
$ ls -l /etc ls: /etc: No such file or directory
/etc was symlinked to
/private/etc (sudoers is in there).