1*bf6873c5SCy Schubert# Test pam_end with PAM_DATA_SILENT. -*- conf -*- 2*bf6873c5SCy Schubert# 3*bf6873c5SCy Schubert# Passing PAM_DATA_SILENT to pam_end should cause the credential cache to not 4*bf6873c5SCy Schubert# be deleted (under the assumption that pam_end is being called in a forked 5*bf6873c5SCy Schubert# process and will be called again in the parent to clean up resources). 6*bf6873c5SCy Schubert# 7*bf6873c5SCy Schubert# Written by Russ Allbery <eagle@eyrie.org> 8*bf6873c5SCy Schubert# Copyright 2014, 2020-2021 Russ Allbery <eagle@eyrie.org> 9*bf6873c5SCy Schubert# Copyright 2010-2011 10*bf6873c5SCy Schubert# The Board of Trustees of the Leland Stanford Junior University 11*bf6873c5SCy Schubert# 12*bf6873c5SCy Schubert# SPDX-License-Identifier: BSD-3-clause or GPL-1+ 13*bf6873c5SCy Schubert 14*bf6873c5SCy Schubert[options] 15*bf6873c5SCy Schubert auth = force_first_pass ignore_k5login 16*bf6873c5SCy Schubert account = ignore_k5login 17*bf6873c5SCy Schubert 18*bf6873c5SCy Schubert[run] 19*bf6873c5SCy Schubert authenticate = PAM_SUCCESS 20*bf6873c5SCy Schubert acct_mgmt = PAM_SUCCESS 21*bf6873c5SCy Schubert open_session = PAM_SUCCESS 22*bf6873c5SCy Schubert 23*bf6873c5SCy Schubert[end] 24*bf6873c5SCy Schubert flags = PAM_DATA_SILENT 25*bf6873c5SCy Schubert 26*bf6873c5SCy Schubert[output] 27*bf6873c5SCy Schubert INFO user %u authenticated as %0 28