mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-27 07:44:14 +02:00
Clarified message
This commit is contained in:
parent
0e321e1c6b
commit
9932e878b1
@ -1172,7 +1172,7 @@
|
|||||||
OWNERID=`ls -n $1 | awk -F" " '{ print $3 }'`
|
OWNERID=`ls -n $1 | awk -F" " '{ print $3 }'`
|
||||||
if [ ${PENTESTINGMODE} -eq 0 -a "${IS_PARAMETERS_FILE}" = "" ]; then
|
if [ ${PENTESTINGMODE} -eq 0 -a "${IS_PARAMETERS_FILE}" = "" ]; then
|
||||||
if [ ! "${OWNER}" = "root" -a ! "${OWNERID}" = "0" ]; then
|
if [ ! "${OWNER}" = "root" -a ! "${OWNERID}" = "0" ]; then
|
||||||
echo "Fatal error: file $1 should be owned by user 'root' or similar (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
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user