Hi, I set up 2FA (OTP) and when I try to use sudo in terminal I get asked for OTP code but when I try to login using sddm/kde login screen there is no prompt for a code. Any ideas? Is it implemented in KDE?
the Pam configuration of sddm is different then your usual login pam configuration. the correct path to configure this would be /etc/pam.d/sddm if SDDM supported it. AFAIK, it does not.