Thursday, August 2, 2012

Install Java PasswordSafe on Fedora 17

PasswordSafe allows to safely and easily create a secured and encrypted username/password list. With this tool you will need only to remember a single master password to access the entire list.

In this tutorial I will install the Java version of the PasswordSafe password management utility because the original version is only available on Windows. Also the other alternatives as Revelation, KeePass, Komodo and others does not accept PasswordSafe v3 files.

Install Java PasswordSafe
> Download Java PasswordSafe 
Download Linux version from this link. Remember choosing 32-bit or 64-bit depending on your system.

> Change to root user
su -

> Extract Java PasswordSafe package to /opt 
tar -C /opt/passwordsafe -xvzf PasswordSafeSWT-0.8-linux-x86.tar.gz

> Add read permissions
chmod -R +r /opt/passwordsafe

> Create Java PasswordSafe executable on /usr/bin
touch /usr/bin/pwsafe
chmod 755 /usr/bin/pwsafe
vi  /usr/bin/pwsafe
#!/bin/shexport PASSWORDSAFE_HOME="/opt/passwordsafe" $PASSWORDSAFE_HOME/ $*

> Create Java PasswordSafe desktop launcher
vi  /usr/share/applications/pwsafe.desktop
[Desktop Entry]
Comment=PasswordSafe SWT 0.8

> Start Java PasswordSafe
From the command line you can execute pwsafe or you can choose the PasswordSafe icon from the Applications section on Activities menu.
Content Licensed as Creative Commons CC-BY-SA 3.0