debugging

This commit is contained in:
Patrick Schleizer 2022-11-24 06:31:24 -05:00
parent 36454c2dbf
commit d05c101721
No known key found for this signature in database
GPG key ID: CB8D50BB77BB3C48
2 changed files with 9 additions and 4 deletions

View file

@ -18,8 +18,10 @@ if ! command -v "/usr/sbin/faillock" &>/dev/null; then
exit 2
fi
## Debugging.
who_ami="$(whoami)"
true "$0: who_ami: $who_ami"
true "$0: PAM_USER: $PAM_USER"
true "$0: SUDO_USER: $SUDO_USER"
if [ "$SUDO_USER" = "" ]; then