mirror of
https://github.com/aquasecurity/linux-bench.git
synced 2025-02-22 14:15:32 +01:00
Delete 6.2.7.sh
Now running it in definitions
This commit is contained in:
parent
addb88dc4f
commit
e79d7411c5
1 changed files with 0 additions and 8 deletions
|
@ -1,8 +0,0 @@
|
|||
#!/bin/bash
|
||||
grep -E -v '^(halt|sync|shutdown)' /etc/passwd | awk -F: '($7 != "'"$(which
|
||||
nologin)"'" && $7 != "/bin/false") { print $1 " " $6 }' | while read -r user
|
||||
dir; do
|
||||
if [ ! -d "$dir" ]; then
|
||||
echo "The home directory ($dir) of user $user does not exist."
|
||||
fi
|
||||
done
|
Loading…
Add table
Reference in a new issue