Install pwd.sh CLI password manager on Linux Ubuntu 15.04, Ubuntu 14.04 and Ubuntu 14.10. pwd.sh is a Command-Line Password Manager (GPG-Encrypted). It is a powerful script to manage passwords in an encrypted file using gpg.
pwd.sh can be used to manage your passwords in an encrypted local container. The pwd.sh script is can only be accesses via the command line (Terminal). It is a powerful password manager which can generate, open, edit, and save password strings to an encrypted container. The contained can only be decrypted on command using GPG. Users can also use it to retrieve and delete stored passwords. Above all, it can store passwords on cloud storage service such as Dropbox or Google Drive. Which means, it can be accessed from any computer across the world.
Install pwd.sh Script
The pwd.sh script can be installed on Ubuntu and Debian (Derivatives also). Run the following commands to install the pwd.sh script:
$ sudo apt-get install git gnupg
$ git clone https://github.com/drduh/pwd.sh
$ cd pwd.sh
Once installed, run the script with ./pwd.sh and the following argument:
- Type w to write a password.
- Type r to read a password(s).
- Type d to delete a password.
- Options can also be passed on the command line, e.g.,
./pwd.sh w gmail 30 to generate and write a password called ‘gmail’ with a length of 30 characters, or
./pwd.sh r github to read the password called ‘github’, or
./pwd.sh d dropbox to delete the password called ‘dropbox’. - Combine with other programs by piping output, e.g.,
./pwd.sh r github | grep github | cut -f1 -d ‘ ‘ | pbcopy to copy a password to clipboard on OS X. - The script and pwd.sh.safe encrypted file can be safely shared between machines over public channels (Google Drive, Dropbox, etc).
- A sample gpg.conf configuration file is provided for your consideration.