[sudo-users] File /etc/pam.d/sudo-i

Todd C. Miller Todd.Miller at millert.dev
Thu Dec 22 08:13:33 MST 2022


On Thu, 22 Dec 2022 13:07:47 +0100, mdh--- via sudo-users wrote:

> I cannot find any docu about the file /etc/pam.d/sudo-i.
> Do I have to adjust it, when I customize /etc/pam.d/sudo?

When sudo is configured with the --with-pam-login option, the
/etc/pam.d/sudo-i file is used instead of /etc/pam.d/sudo for "sudo
-i".  So yes, it is best to keep the two files in sync when you
make changes.

 - todd


More information about the sudo-users mailing list