Commandline Password Database Utility
pwsafe is a commandline password database utility that manipulates counterpane Passwordsafe username/password databases. The database format PWSafe uses is cross platform compatible with Counterpane PasswordSafe (for Windows), MyPasswordSafe for QT application environments (KDE) and Password Gorilla for the tck/tk application environment (Windows, Mac OS X, Linux, Solaris, *BSD).
First you have to create a database for pwsafe: pwsafe –createdb
Than we can add an entry: pwsafe -a test

To generate random passwords, just press return when asked for it during adding an entry to the database:
To list all the entries in the database type: pwsafe -l


