unafs command not found

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

Introduction

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

unafs: command not found

or when using sudo you get the following error message

sudo: unafs: command not found

Solutions to unafs: command not found

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

In Ubuntu unafs is provided by john package.

john is:

John the Ripper is a tool designed to help systems administrators to find weak (easy to guess or crack through brute force) passwords, and even automatically mail users warning them about it, if it is desired.

Besides several crypt(3) password hash types most commonly found on various Unix flavors, supported out of the box are Kerberos AFS and Windows NT/2000/XP/2003 LM hashes, plus several more with contributed patches.

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

sudo apt-get -y install john

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

You can also use apt command to install john.

sudo apt -y install john

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

sudo aptitude install john

Summary

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