From 704e496849760080f1bf043929f66eed71ad33a7 Mon Sep 17 00:00:00 2001 From: vaticanextreme-design Date: Sun, 4 Jan 2026 13:27:14 +0200 Subject: [PATCH 1/2] Create CODEOWNERS --- .github/CODEOWNERS | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..7e0da61 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,3 @@ +# This file defines code owners for the repository +# Require approval from @softservedata for all files +@softservedata From 8edc780af8069339d395060eb70c2905d3dd58cb Mon Sep 17 00:00:00 2001 From: vaticanextreme-design Date: Sun, 4 Jan 2026 14:45:16 +0000 Subject: [PATCH 2/2] Add bash script to find users with /bin/bash --- find_bash_users.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 find_bash_users.sh diff --git a/find_bash_users.sh b/find_bash_users.sh new file mode 100755 index 0000000..d3d2f5b --- /dev/null +++ b/find_bash_users.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# Script to find users with /bin/bash shell from a file named 'password' + +# First, create a sample password file if it doesn't exist (copy from /etc/passwd) +if [ ! -f "password" ]; then + echo "Creating sample password file from /etc/passwd..." + sudo cp /etc/passwd password +fi + +echo "Users with /bin/bash shell:" +grep '/bin/bash$' password | cut -d: -f1