mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-13 10:59:27 -05:00
debugging
This commit is contained in:
parent
97722d1926
commit
e06b173a1b
@ -3,6 +3,16 @@
|
||||
## Copyright (C) 2022 - 2022 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
||||
## See the file COPYING for copying conditions.
|
||||
|
||||
true "$0: START PHASE 1"
|
||||
|
||||
if test -f /etc/pam-info-debug || test -f /usr/local/etc/pam-info-debug ; then
|
||||
set -x
|
||||
exec 5>&1 1>> ~/pam-info-debug.txt
|
||||
exec 6>&2 2>> ~/pam-info-debug.txt
|
||||
fi
|
||||
|
||||
true "$0: START PHASE 2"
|
||||
|
||||
if ! command -v "/usr/sbin/faillock" &>/dev/null; then
|
||||
true "$0: ERROR: The faillock program is unavailable, exiting."
|
||||
exit 2
|
||||
|
Loading…
Reference in New Issue
Block a user