lockout command not found

In this troubleshooting guide we learn how to fix lockout command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

lockout: command not found

or when using sudo you get the following error message

sudo: lockout: command not found

Solutions to lockout: command not found

How To Fix lockout: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu lockout is provided by lockout package.

lockout is:

Lockout is a tool that imposes discipline on you so that you get some work done. For example, lockout can be used to install a firewall that does not let you browse the Web. Lockout changes the root password for a specified duration; this prevents you from secretly ripping down the firewall and then browsing the Web anyway. In case of an emergency, you can reboot your computer to undo the effects of lockout and to restore the original root password.

To fix this problem, we can install more using the command below.

sudo apt-get -y install lockout

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install lockout.

sudo apt -y install lockout

Or if you have aptitude installed you can use the following command.

sudo aptitude install lockout

Summary

In this tutorial we learn how to fix lockout command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.