| 1 |
# Test account and session behavior for ignored root user. -*- conf -*- |
| 2 |
# |
| 3 |
# Written by Russ Allbery <[email protected]> |
| 4 |
# Copyright 2014, 2020 Russ Allbery <[email protected]> |
| 5 |
# Copyright 2010-2011 |
| 6 |
# The Board of Trustees of the Leland Stanford Junior University |
| 7 |
# |
| 8 |
# SPDX-License-Identifier: BSD-3-clause or GPL-1+ |
| 9 |
|
| 10 |
[options] |
| 11 |
auth = ignore_root debug |
| 12 |
password = ignore_root debug |
| 13 |
|
| 14 |
[run] |
| 15 |
authenticate = PAM_USER_UNKNOWN |
| 16 |
chauthtok(PRELIM_CHECK) = PAM_IGNORE |
| 17 |
|
| 18 |
[output] |
| 19 |
DEBUG pam_sm_authenticate: entry |
| 20 |
DEBUG (user root) ignoring root user |
| 21 |
DEBUG pam_sm_authenticate: exit (failure) |
| 22 |
DEBUG pam_sm_chauthtok: entry (prelim) |
| 23 |
DEBUG ignoring root user |
| 24 |
DEBUG pam_sm_chauthtok: exit (ignore) |