mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Clean up unneeded log entries
This commit is contained in:
parent
ba3d47ba7f
commit
a40331aedc
1 changed files with 0 additions and 4 deletions
|
|
@ -1929,8 +1929,6 @@
|
||||||
echo "Fatal error: file $1 should be owned by user 'root' when running it as root (found: ${OWNER})."
|
echo "Fatal error: file $1 should be owned by user 'root' when running it as root (found: ${OWNER})."
|
||||||
ExitFatal
|
ExitFatal
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
LogText "Note: Owner permissions of file $1 to be expected similar as the UID executing the process"
|
|
||||||
fi
|
fi
|
||||||
# Group permissions
|
# Group permissions
|
||||||
GROUP=`echo ${PERMS} | awk -F" " '{ print $4 }'`
|
GROUP=`echo ${PERMS} | awk -F" " '{ print $4 }'`
|
||||||
|
|
@ -1941,8 +1939,6 @@
|
||||||
echo "Fatal error: group owner of directory $1 should be owned by root user, wheel or similar (found: ${GROUP})."
|
echo "Fatal error: group owner of directory $1 should be owned by root user, wheel or similar (found: ${GROUP})."
|
||||||
ExitFatal
|
ExitFatal
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
LogText "Note: Group permissions of file $1 to be expected similar as the UID executing the process"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Owner permissions
|
# Owner permissions
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue