shorewall-init command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
shorewall-init: command not found
or when using sudo you get the following error message
sudo: shorewall-init: command not found
Solutions to shorewall-init: command not found
How To Fix shorewall-init: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu shorewall-init is provided by shorewall-init package.
shorewall-init is:
This package provides two related features:
a) It allows the firewall to be closed prior to bringing up
network devices. This insures that unwanted connections are not
allowed between the time that the network comes up and when the
firewall is started.
b) It integrates with NetworkManager and distribution ifup/ifdown
systems to allow for 'event-driven' startup and shutdown.
The two facilities can be enabled separately.
When Shorewall-init is first installed, it does nothing until you configure it.
To fix this problem, we can install more using the command below.
sudo apt-get -y install shorewall-init
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install shorewall-init.
sudo apt -y install shorewall-init
Or if you have aptitude installed you can use the following command.
sudo aptitude install shorewall-init
Summary
In this tutorial we learn how to fix shorewall-init command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.