I have a custom command-line password management script I wrote, kind of like a password search engine.
It lets me define any number of fields of information (kind of like an LDAP directory), eg: server name, ip address, user name, password, email address, url, notes,.... Not every entry needs to have all fields (Which is the advantage of directory-style versus column style) -
Then on commandline i just type:
pass somename someserver
- and it will give me the entry where all keywords hit, in a nice layout for easy copy/paste.
pass -e
will let me edit the directory in vim.
Every time i run pass, it asks for the master password, everything is encrypted using bcrypt or mcrypt
I may actually switch to a real encrypted ldap directory some day or use a real password management program, but so far this works quite nicely.
Lots of people swear by
KeePass and stuff.