mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
When providing suggestion related to hostid, append to file instead of overwriting
This commit is contained in:
parent
769b1f49e2
commit
0fc8adb3c5
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue