From 36454c2dbf43de4805f2f156b05d263c37b9615a Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Thu, 24 Nov 2022 06:25:47 -0500 Subject: [PATCH] debugging --- usr/bin/faillock-user | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/bin/faillock-user b/usr/bin/faillock-user index 083615c..ffe1988 100755 --- a/usr/bin/faillock-user +++ b/usr/bin/faillock-user @@ -20,6 +20,8 @@ fi who_ami="$(whoami)" +true "$0: SUDO_USER: $SUDO_USER" + if [ "$SUDO_USER" = "" ]; then user_to_check="$who_ami" else