nss-passwords command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nss-passwords: command not found
or when using sudo you get the following error message
sudo: nss-passwords: command not found
Solutions to nss-passwords: command not found
How To Fix nss-passwords: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nss-passwords is provided by nss-passwords package.
nss-passwords is:
This program reads passwords from keyrings used by Mozilla products, such as Firefox and Thunderbird. It can run entirely in text mode.
This program works with SQLite-based keyrings (signons.sqlite) and JSON-based keyrings (logins.json), used in recent versions of Firefox. Text-based keyrings can be read with pwdecrypt, from libnss3-tools package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install nss-passwords
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install nss-passwords.
sudo apt -y install nss-passwords
Or if you have aptitude installed you can use the following command.
sudo aptitude install nss-passwords
Summary
In this tutorial we learn how to fix nss-passwords command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.