Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2019-08-13 21:05:09 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-08-13 21:05:09 +0300
commit2af2d0a89591a52798a9230b4a56e8a47201b500 (patch)
treebbcb660184b98a8574caf9c59210d503da91f1de /include
parent368989d5c4678f662a127de3a078af67df2dbd39 (diff)
[HOME-9306] Added git-shell to ignore list
Diffstat (limited to 'include')
-rw-r--r--include/tests_homedirs2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_homedirs b/include/tests_homedirs
index 464b7389..982fd313 100644
--- a/include/tests_homedirs
+++ b/include/tests_homedirs
@@ -89,7 +89,7 @@
if [ ${SKIPTEST} -eq 0 ]; then
# Check if users own their home directories
FOUND=0
- for LINE in "$(${EGREPBINARY} -v '^(daemon|halt|root|shutdown|sync)' ${ROOTDIR}etc/passwd | ${AWKBINARY} -F: '($7 !~ "/(false|nologin)$") { print }') { print }')"; do
+ for LINE in "$(${EGREPBINARY} -v '^(daemon|git-shell|halt|root|shutdown|sync)' ${ROOTDIR}etc/passwd | ${AWKBINARY} -F: '($7 !~ "/(false|nologin)$") { print }') { print }')"; do
USER=$(echo ${LINE} | ${CUTBINARY} -d: -f1)
DIR=$(echo ${LINE} | ${CUTBINARY} -d: -f6)
if [ -d ${DIR} ]; then