You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# First Backup Existing hosts file
sudo mv /etc/hosts.deny /etc/hosts.deny.bak
# Now download the new hosts file and put it into place
sudo wget https://hosts.ubuntu101.co.za/hosts.deny -O /etc/hosts.deny
What is the problem you are experiencing?
Looking at the installer scripts,
linux-hosts.deny-installer.sh:
linux-superhosts.deny-installer.sh:
As you can see both hosts.deny installer and superhosts.deny are writing to the same file
hosts.deny
The end result is the first hosts.deny does not work because it is overwritten by superhosts.deny
Is this intended? I would have thought you'd want to merge the lists somehow?
How can we reproduce the problem?
cat /etc/hosts.deny
and see that only one list is thereWhat did you expect to happen?
I expected I could install both hosts.deny and superhosts.deny and the lists would be merged?
Is there a workaround?
Manual merge the two lists together
Additional context
No response
The text was updated successfully, but these errors were encountered: