Repair /etc

If you managed to break your OS X installation so badly that it’s come to this, you can repair it with:

/sbin/mount -uw /
cd /
ln -s /private/etc etc
/sbin/fsck -fy
chown root:wheel /etc

And, yes, it is possible to do this to yourself…