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>2017-08-31 18:11:15 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2017-08-31 18:11:15 +0300
commit0fc8adb3c56378677b7a5b4ad7159ab0493653c1 (patch)
tree8dedad18f01757d5bc068d0476501c963fc9ff99 /include/data_upload
parent769b1f49e2197cfd2d9246238455f54a0abb9c53 (diff)
When providing suggestion related to hostid, append to file instead of overwriting
Diffstat (limited to 'include/data_upload')
-rw-r--r--include/data_upload2
1 files changed, 1 insertions, 1 deletions
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"