User Tools

Site Tools


ubuntu:pam:find_all_programs_that_use_pam

This is an old revision of the document!


Ubuntu- PAM- Find all programs that use PAM

Applications have to be written with PAM library support.

To get a list of the applications on your system that can use PAM in some way, type:

ldd /{,usr/}{bin,sbin}/* | grep -B 5 libpam | grep '^/'

returns:

/bin/login:
/bin/su:
/sbin/mkhomedir_helper:
/sbin/pam_tally2:
/usr/bin/chfn:
/usr/bin/chsh:
/usr/bin/passwd:
/usr/sbin/atd:
/usr/sbin/chpasswd:
/usr/sbin/cron:
/usr/sbin/newusers:
/usr/sbin/sshd:

Check a specific application for PAM functionality

ldd $(which prog_name) | grep libpam

If it returns anything, then it can use PAM.

ubuntu/pam/find_all_programs_that_use_pam.1575207749.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki