| 1 |
# Test account and session behavior for minimum UID (debug). -*- conf -*- |
| 2 |
# |
| 3 |
# Copyright 2020 Russ Allbery <[email protected]> |
| 4 |
# |
| 5 |
# SPDX-License-Identifier: BSD-3-clause or GPL-1+ |
| 6 |
|
| 7 |
[options] |
| 8 |
auth = minimum_uid=%1 debug |
| 9 |
password = minimum_uid=%1 debug |
| 10 |
|
| 11 |
[run] |
| 12 |
authenticate = PAM_USER_UNKNOWN |
| 13 |
chauthtok(PRELIM_CHECK) = PAM_IGNORE |
| 14 |
|
| 15 |
[output] |
| 16 |
DEBUG pam_sm_authenticate: entry |
| 17 |
DEBUG (user %u) ignoring low-UID user (%0 < %1) |
| 18 |
DEBUG pam_sm_authenticate: exit (failure) |
| 19 |
DEBUG pam_sm_chauthtok: entry (prelim) |
| 20 |
DEBUG ignoring low-UID user (%0 < %1) |
| 21 |
DEBUG pam_sm_chauthtok: exit (ignore) |