PAM significa o Módulo de Autenticação Pluggable e é baseado em RFC 86.0 .
pam_unix
e pam_systemd
são dois módulos diferentes com funções diferentes. De acordo com as respectivas páginas do manual:
pam_unix [is the m]odule for traditional password authentication
[...]
This is the standard Unix authentication module. It uses standard calls from the system's libraries to retrieve and set account information as well as authentication. Usually this is obtained from the /etc/passwd and the /etc/shadow file as well if shadow is enabled.
e
pam_systemd [r]egister[s] user sessions in the systemd login manager
[...]
pam_systemd registers user sessions with the systemd login manager systemd-logind.service(8), and hence the systemd control group hierarchy.