mirror of
https://github.com/ovh/debian-cis.git
synced 2025-07-16 13:52:17 +02:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
e62648d6a4 | |||
ef5c00fef5 |
@ -24,7 +24,7 @@ audit () {
|
|||||||
USER=$(awk -F: {'print $1'} <<< $LINE)
|
USER=$(awk -F: {'print $1'} <<< $LINE)
|
||||||
USERID=$(awk -F: {'print $2'} <<< $LINE)
|
USERID=$(awk -F: {'print $2'} <<< $LINE)
|
||||||
DIR=$(awk -F: {'print $3'} <<< $LINE)
|
DIR=$(awk -F: {'print $3'} <<< $LINE)
|
||||||
if [ $USERID -ge 1000 -a ! -d "$DIR" -a $USER != "nfsnobody" -a $USER != "nobody" ]; then
|
if [ $USERID -ge 1000 -a ! -d "$DIR" -a $USER != "nfsnobody" -a $USER != "nobody" -a "$DIR" != "/nonexistent" ]; then
|
||||||
crit "The home directory ($DIR) of user $USER does not exist."
|
crit "The home directory ($DIR) of user $USER does not exist."
|
||||||
ERRORS=$((ERRORS+1))
|
ERRORS=$((ERRORS+1))
|
||||||
fi
|
fi
|
||||||
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
cis-hardening (1.3-2) unstable; urgency=medium
|
||||||
|
|
||||||
|
* IMP(test/13.12): ignore the phony '/nonexistent' home folder
|
||||||
|
|
||||||
|
-- Stéphane Lesimple <stephane.lesimple@corp.ovh.com> Tue, 22 Oct 2019 15:15:34 +0200
|
||||||
|
|
||||||
cis-hardening (1.3-1) unstable; urgency=medium
|
cis-hardening (1.3-1) unstable; urgency=medium
|
||||||
|
|
||||||
* Change of version numbering
|
* Change of version numbering
|
||||||
|
Reference in New Issue
Block a user