From 0fc8adb3c56378677b7a5b4ad7159ab0493653c1 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Thu, 31 Aug 2017 17:11:15 +0200 Subject: When providing suggestion related to hostid, append to file instead of overwriting --- include/data_upload | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/data_upload b/include/data_upload index 02689931..3e8e52ec 100644 --- a/include/data_upload +++ b/include/data_upload @@ -246,7 +246,7 @@ 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 \"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" -- cgit v1.2.3