summaryrefslogtreecommitdiff
path: root/tests/data/scripts/basic/minimum-uid-debug
blob: c20e43d55ac8de0f27c72918bece3750015342c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Test account and session behavior for minimum UID (debug).  -*- conf -*-
#
# Copyright 2020 Russ Allbery <eagle@eyrie.org>
#
# SPDX-License-Identifier: BSD-3-clause or GPL-1+

[options]
    auth     = minimum_uid=%1 debug
    password = minimum_uid=%1 debug

[run]
    authenticate            = PAM_USER_UNKNOWN
    chauthtok(PRELIM_CHECK) = PAM_IGNORE

[output]
    DEBUG pam_sm_authenticate: entry
    DEBUG (user %u) ignoring low-UID user (%0 < %1)
    DEBUG pam_sm_authenticate: exit (failure)
    DEBUG pam_sm_chauthtok: entry (prelim)
    DEBUG ignoring low-UID user (%0 < %1)
    DEBUG pam_sm_chauthtok: exit (ignore)