构建新SSH服务器的步骤

前置条件:以CentOS为模板 需要的相关软件:libnss_pam、pam_mysql、mysql、obfuscated-openssh 由于...

November 20, 2013

Getting PAM to authenticate against MySQL

Because OpenSSH makes use of PAM for authentication, it may be desirable to back users with a pre-existing MySQL database. The following steps will show how to do this. This is yet another authentication option for integrations. The role of PAM and NSS There is some confusion as to the role of PAM and NSS. In a nutshell, PAM and NSS perform two related functions: PAM: Authentication of users NSS: Name Services The important item to note is that authentication is a question of, “Is this who they purport to be?...

July 13, 2013