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-07-05 19:35:10 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-07-05 19:35:10 +0300
commit0443d643da1c76515fb2fb5d102d13ba25f5cb36 (patch)
tree19f7b1f7bb1bd1c5719b3e7742826de623d69ad0 /include/data_upload
parent34ecd072b13ec36ddf305b5db0f3f0d17e652907 (diff)
Show tip to use 'lynis generate hostids' when they are missing
Diffstat (limited to 'include/data_upload')
-rw-r--r--include/data_upload8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/data_upload b/include/data_upload
index 5bc8e839..7698d13a 100644
--- a/include/data_upload
+++ b/include/data_upload
@@ -242,13 +242,9 @@
fi
else
echo "${RED}Error${NORMAL}: No hostid and/or hostid2 found. Can not upload report file."
- echo "Suggested command: lynis show hostids"
+ echo "Suggested command: lynis generate hostids --save"
echo ""
- echo "If hostid2 is the only ID that is missing, use the following step:"
- echo "Create hash and add it to custom.prf"
- echo "echo \"hostid2=\$(cat /dev/urandom | tr -dc 'a-f0-9' | fold -w 64 | head -n 1)\" >> /etc/lynis/custom.prf"
- echo ""
- echo "Note: do not replicate this ID to other systems, as it needs to be unique per system"
+ echo "Note: do not replicate the values to other systems, as it needs to be unique per system"
# Quit
ExitFatal