ubuntu:pam:check_is_a_program_uses_pam
This is an old revision of the document!
Ubuntu - PAM - Check is a program uses PAM
To employ PAM, an application needs to be “PAM aware“.
It needs to have been written and compiled specifically to use PAM.
To find out if a program is “PAM-aware” or not, check if it has been compiled with the PAM library using the ldd command
For example sshd:
sudo ldd /usr/sbin/samba | grep libpam.so
returns:
libpam.so.0 => /lib/x86_64-linux-gnu/libpam.so.0 (0x00007f5eb06fd000)
This shows that PAM can be used.
ubuntu/pam/check_is_a_program_uses_pam.1575203638.txt.gz · Last modified: 2020/07/15 09:30 (external edit)