Always your password with you
ffpassScript to quickly retrieve a password from the Firefox cache.
Firefox on my desktop PC at home remembers the most passwords for me. Sometimes I need a password from a site when I'm at work or on the road with my phone. I then log in at home (via SSH) and request the password with this script.
The script works with the nss-passwords tool. Install that with sudo apt install nss-passwords. You have to look up the profile path of Firefox once (at home or via SSH) and enter it in the script. You can find that folder by typing about:support in the Firefox address bar and then the value at Profile folder to take over.
Example output when I type ffpass shop it shows all passwords from sites with the phrase "shop":
if [ -n "$1" ]; then
nss passwords -d . $1
echo "Use: ffpass
is some letters of the domain you want to see the password for"
echo "Example: ffpass gmail"
How to usePlace the script in a file ffpass and make it executable with:
Run the script from inside a terminal window:
chmod +x ffpass
AutomaticPut this script in crontab so that it runs automatically periodically:
View 30 more scripts