User Tools

Site Tools


ubuntu:pam:check_is_a_program_uses_pam

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ubuntu:pam:check_is_a_program_uses_pam [2019/12/01 12:33] – created peterubuntu:pam:check_is_a_program_uses_pam [2019/12/01 12:35] (current) – removed peter
Line 1: Line 1:
-====== 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: 
- 
-<code bash> 
-sudo ldd /usr/sbin/samba | grep libpam.so 
-</code> 
- 
-returns: 
- 
-<code bash> 
- libpam.so.0 => /lib/x86_64-linux-gnu/libpam.so.0 (0x00007f5eb06fd000) 
-</code> 
- 
-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)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki