Understanding pam module