aboutsummaryrefslogtreecommitdiff
path: root/tests/data/scripts/basic/ignore-root-debug
blob: 2ffd33c16229f6633dc0d6bc36748265c3028461 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Test account and session behavior for ignored root user.  -*- conf -*-
#
# Written by Russ Allbery <eagle@eyrie.org>
# Copyright 2014, 2020 Russ Allbery <eagle@eyrie.org>
# Copyright 2010-2011
#     The Board of Trustees of the Leland Stanford Junior University
#
# SPDX-License-Identifier: BSD-3-clause or GPL-1+

[options]
    auth     = ignore_root debug
    password = ignore_root debug

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

[output]
    DEBUG pam_sm_authenticate: entry
    DEBUG (user root) ignoring root user
    DEBUG pam_sm_authenticate: exit (failure)
    DEBUG pam_sm_chauthtok: entry (prelim)
    DEBUG ignoring root user
    DEBUG pam_sm_chauthtok: exit (ignore)