PAM_FILTER(8) Linux-PAM Manual PAM_FILTER(8) (NAME) pam_filter - PAM / (SYNOPSIS) pam_filter.so [debug] [new_term] [non_term] run1|run2 filter [...] (DESCRIPTION) / . tty (stdin/stdout) . filters () . . ( termcap ). . execv(2) not () . () . (OPTIONS) debug . new_term PAM_TTY . PAM_TTY (pseudo-terminal) . non_term PAM_TTY . runX . . X 1 2 . . pam(3) . . authentication session . (authentication) pam_authenticate(3) pam_setcred(3) run1 pam_authenticate run2 pam_setcred . (session) run1 pam_open_session(3) run2 pam_close_session(3). (account) run1 run2 . (password) run1 pam_chauthtok(3) ( PAM_PRELIM_CHECK) run2 ( PAM_UPDATE_AUTHTOK) . filter . (MODULE TYPES PROVIDED) (auth account password session) . (RETURN VALUES) PAM_SUCCESS . PAM_ABORT . (EXAMPLES) /etc/pam.d/login login : session required pam_filter.so run1 /lib/security/pam_filter/upperLOWER (SEE ALSO) pam.conf(5) pam.d(5) pam(8) (AUTHOR) pam_filter Andrew G. Morgan . Linux-PAM 01/26/2026 PAM_FILTER(8)