Merge b56872ae5087797c3cb4b46c3effd694267c4cb9 into 8db7add11d9c4507297de76c7694922435af170c

This commit is contained in:
K9T33NwthTookThis 2025-07-15 22:13:24 +01:00 committed by GitHub
commit 47eae17d79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,7 +41,11 @@ getent passwd | while IFS=: read -r name _ uid _ _ _ _; do
awk -v user="$name" '{gsub(user, "[REDACTED]"); print}' /tmp/rpc-dump.txt | tee /tmp/rpc-dump-stripped.txt &>/dev/null awk -v user="$name" '{gsub(user, "[REDACTED]"); print}' /tmp/rpc-dump.txt | tee /tmp/rpc-dump-stripped.txt &>/dev/null
done done
# cat /tmp/rpc-dump-stripped.txt read -r -p "Print output? [y, N]: " -t 8 output
if [[ $output == y ]]; then
cat /tmp/rpc-dump-stripped.txt
fi
rm /tmp/rpc-dump.txt rm /tmp/rpc-dump.txt
printf " printf "