Closed miguelmota closed 2 years ago
From the su
manual on my system:
FILES
/etc/pam.d/su
default PAM configuration file
/etc/pam.d/su-l
PAM configuration file if --login is specified
--login
is the same as -
, per same manual.
Hi, I'm trying to require 2fa for
su
. The issue is that there is no 2fa prompt when runningsu - <user>
(with dash) but there is a prompt when runningsu <user>
(no dash)?I added this to
/etc/pam.d/su
The rest of config is default on arch linux
Any ideas on how to make 2fa prompt show for
su -
? thanks!