Open the filesudo nvim /etc/pam.d/sudo You can’t write to this file without sudo permissions.Add this line to the top of the fileauth sufficient pam_tid.so Creds