From f33dab4833c6046ce210571fa59f57242f33e3c5 Mon Sep 17 00:00:00 2001 From: Oleksandr Dobriuk Date: Thu, 23 Oct 2025 16:17:34 -0400 Subject: [PATCH] Add script to list users with /bin/bash --- find_bash_users.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 find_bash_users.sh diff --git a/find_bash_users.sh b/find_bash_users.sh new file mode 100644 index 0000000..b451c99 --- /dev/null +++ b/find_bash_users.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +awk -F: '$7 ~ /\/bin\/bash$/ {print $1}' /etc/passwd