barada-add command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
barada-add: command not found
or when using sudo you get the following error message
sudo: barada-add: command not found
Solutions to barada-add: command not found
How To Fix barada-add: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu barada-add is provided by libpam-barada package.
libpam-barada is:
Use HOTP (RFC4226) two-factor authentication with PAM.
In addition to a normal password, users are also assigned a 128 bit key and arbitrary-length PIN number. Every time you’d like to login using a OTP, you calculate a secure hash based on your assigned PIN and an increasing counter, the result of which is a six character one time password.
While this module could be used in conjunction with many different client devices, it was written specifically with Android devices in mind. There is companion software which runs on Android, so that your phone essentially becomes a SecureID token. All you need to do is open up the software, type in your PIN, and you get back a 6-character number that you can use to login to your system.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libpam-barada
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libpam-barada.
sudo apt -y install libpam-barada
Or if you have aptitude installed you can use the following command.
sudo aptitude install libpam-barada
Summary
In this tutorial we learn how to fix barada-add command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.