On Sat, 6 Nov 2021, Pouya Tafti wrote:
This obviously seems wrong, so I tried using /etc/pam.d/other or /etc/pam.d/system instead, to have it authenticate using pam_unix.so (or to use the latter directly). But now I can't get it to accept *any* password anymore, including the correct one.
Make the program suid, then include system instead of login. -RVP