I was recently trying to set up Yubikey with macOS, and somewhere along the lines, something went wrong. Whenever I use
sudo, I get
sudo: unable to initialize PAM: No such file or directory.
I have no idea where I messed up, and after looking for about a week for an answer, at this point I might as well reset my PAM files. I could not find a solution that works.
zsh: command not found: pam-auth-update.
Any help would be appreciated. Thanks!