59

Obviously seeing as how many of us here are system administrator type people, we have a lot of passwords strung out across numerous systems and accounts. Some of them are low priority, others could cause serious harm to a company if discovered (don't you just love power?).

Simple, easy to remember passwords just aren't acceptable. The only option is complex, hard-to-remember (and type) passwords. So, what do you use to keep track of your passwords? Do you use a program to encrypt them for you (requiring yet another password in turn), or do you do something less complicated such as a piece of paper kept on your person, or is it somewhere in between those options?

1

40 Answers 40

63

KeePass is great.

10
  • 3
    +1 for Keepass. I have a copy of it on my laptop and a synched copy on my G1 Android.
    – KPWINC
    Jun 7, 2009 at 6:02
  • I used PassReminder for a while because it was usable on Windows and Linux, but development stagnated. I switched to KeePass, and have had the same database for over two years, across Windows, Linux and Mac OS X workstations.
    – jtimberman
    Jun 7, 2009 at 7:08
  • I should note that at a previous job we used a KeePass database shared between the admin staff that stored all the infrastructure related passwords.
    – jtimberman
    Jun 7, 2009 at 7:09
  • We use KeePass on a USB stick which is stored in our backup safe for all our system passwords.
    – Swinders
    Jun 7, 2009 at 14:07
  • 1
    KeePass + Dropbox = Autosyncing passwords.
    – Hello71
    Sep 14, 2010 at 2:21
30

I have a very simple way of dealing with passwords:

I don't like password managers, but I like crypto, so I take advantage of one-way hashes (md5, sha1, etc) and generate passwords using them.

How it works?

First, I choose a good long password that I will use everywhere. For example qwerty (don’t use that, just an example). Now for every site, your password will be the md5 (or sha1) of qwerty + site name. For example:

$ echo “qwerty http://www.facebook.com” | md5
9d7d9b30592fd43dd6629ef5c12c6e9a

$ echo “qwerty http://www.twitter.com” | md5
cdf0e74e19836efb20f29120884b988d

That way my password for facebook is 9d7d9b30592fd43dd6629ef5c12c6e9a and for twitter is: cdf0e74e19836efb20f29120884b988d

Both long and secure. If someone steals my twitter password he has no way to reverse back to figure out the other passwords. Plus, doing that you don’t need any password software stored (just the md5/sha1 binaries which come by default on Linux and are easy to find on Windows).

8
  • 6
    Good, simple scheme. What do you do on sites that have limited their password fields to less than 32 bytes, just truncate?
    – pboin
    Nov 14, 2009 at 18:14
  • 1
    that's a quite ingenious scheme! cool! Dec 2, 2009 at 10:33
  • 1
    pwdhash <pwdhash.com> does something similar and it's available as a Firefox add-in. So if you're simply wanting to control passwords on the web, this is ideal. Also means you can use any PC as you don't need to carry your password database around with you.
    – Callie J
    Jun 3, 2010 at 11:22
  • 13
    Won't this leave a trail of commands with your password in plaintext in the bash history?
    – pufferfish
    Jul 1, 2010 at 11:06
  • 1
    You can have bash ignore commands by configuring HISTCONTROL, see: commandlinefu.com/commands/view/1512/…
    – Matt V.
    Jan 21, 2011 at 1:51
16

Password Safe has solid encryption and a random password generator. Groups of passwords are then distributed as encrypted files based on who needs which passwords.

3
  • What crypto does Password Safe use? I've been all over the site and have yet to find it.
    – Bob
    Jun 9, 2009 at 18:03
  • Twofish schneier.com/passsafe.html
    – sh-beta
    Nov 12, 2009 at 21:22
  • I find Password Safe invaluable, because I can use it to generate random passwords whenever it's time to rotate passwords - each password entry can have customized complexity rules associated with it; if an app or site doesn't allow punctuation, I can tell PS to not use symbols when generating new passwords for it. For more widespread password management, we've got CyberArk. Apr 6, 2017 at 17:09
7

We keep our passwords printed out, in a binder with our other network documentation, and in our physically secure server room that only a few people have access to.

I don't know what 'real sys admins' think of this but I think this is a good solution for us. I am interested in the other answers to this question.

4
  • In a previous job (a central university computer facility) we used to have a small notebook stored in our key box inside our machine room, which obviously had a limited number of people who could access it. Jun 7, 2009 at 7:09
  • +1 because this works and is the simplest solution...if the notebook is kept locked up in a secure location...
    – cop1152
    Jun 7, 2009 at 11:58
  • Likewise. Folder of passwords stored in the safe, in the machine room. The central root password was known only to a few people, and then put in a sealed envelope; sudo access for anyone else who needed priviledged access.
    – CK.
    Jun 16, 2009 at 11:20
  • Sounds like good low-tech solution. I'd be a bit concerned about people like cleaning staff, maintenance techs etc. who are occasionally allowed into the room. You'll need to remember to keep the binder safe from them.
    – sleske
    May 21, 2010 at 1:35
7

We have a PGP encrypted text file. It is encrypted to each of the sysadmin's keys. We use a vim plugin to make it easy to update.

At a previous job we used a similar scheme, but used symmetrical encryption because we hadn't discovered the plugin (or it didn't exist yet) and no one had spent the time to work out how private keys would work.

1
  • +1 Nice schema, plus nice to know about the plugin :-).
    – sleske
    May 21, 2010 at 1:26
5

I have a photographic memory, I can remember passwords to zip files I created in the 80s - not actually as cool as you might think :)

2
  • Very nice solution. I just doesn't scale very well to others :-/.
    – sleske
    May 21, 2010 at 1:35
  • I also seem to be able to remember all the passwords I have ever used...which works great until you inevitably forget one, like I did. It was for Android certificate signing -- which means I can never again update an app I wrote that is on the Google Play market. Of course, I could sign it with a different certificate but that doesn't bring existing users along for the ride. Nov 28, 2016 at 18:44
5

KeePassX is a cross-platform KeePass alternative. A very nice (Qt) GUI and almost identical functionality.

Ehtyar.

[edit] Forgot to mention it supports KeePass DBs [/edit]

5

I use a program called pwsafe on my desktop. If I need a password from somewhere else, I SSH over and use that.

3

I have tried many and for personal use, my favorite is LastPass (free, standalone or browser add-on).

Still looking for a solution for work and have compiled a list of requirements and possible solutions in another post.

2

Lets assume that you have a lot of (different) passwords for various on-line services and equipment you own. You would want to store these in a file.

Never keep your password file open (as in unencrypted) on your machines/servers. Having said that, do not keep it encrypted with some web-space provider that gives you encryption support either -- unless your really trust them.

For mobile storage of passwords, consider TrueCrypt volumes or files that you can store where ever convenient -- like your pendrives or even e-mail attachments. TrueCrypt is supported on almost all platforms and provides very good security when you decrypt the files for viewing. Then, you have to just take care that you do not copy or leave the file on some system (or deleted files folder).

Ah! and get serious with your password generation :-)

2

Keychain. I've tried 1password, but keychain does what I need it to do, and I like the way it works better.

1

Unfortunately, within a password protected spreadsheet.

1

I keep my passwords in a text file so it's easy to look at - don't need any application. I keep the file encrypted with a long passphrase that I've never ever written down. I guess one of these days I should tell my wife what it is...

The "working" version of the file is printed out in a small font so it fits on one sheet of paper and it's folded into the little notebook that I carry around and keep track of like my wallet. Basically, I follow Bruce Schneier's advice and have good passwords that are written down somewhere secure.

Our "what if one admin gets hit by a bus" plan is that each of us has their own encrypted password file. There's a small enough number of us and we're all not dumb enough to leave a printed list lying around, so it works well.

We also have a small file in the shared directories we use that has the less critical passwords we all refer to.

We "generate" our own complex passwords for the most critical uses: I usually go first and pick a letter or number. Then the next guy picks one, then me (or another guy), and so on. We end up with things like pl8u7ke which turn out to be not too hard to remember if you use them pretty much every day.

1

For personal passwords, I use 1Password. It has a great (free) iPhone/iPod Touch application so I have my passwords with me where ever I go.

1

You should check out the Yubikey (http://www.yubico.com/).

It generates an OTP for use in a two-factor authentication system, but for non-network-accessible applications, it can be configured to output at 64-character pseudo-random (for all intents and purposes, unguessable) password, or you can set the password yourself.

The static or one-time password is output as though from a keyboard, so it nearly universally available. I use mine on Linux, MacOS and Windows.

PS edit: I'm toying around my own Yubikey but have no vested interest; I just think it's a very handy password tool.

1
  • YubiKeys are great, but you still need an authentication server and a useful application that talks to the authentication server to make it do anything of value Jul 15, 2009 at 15:07
1

for personal passwords, I use PassPack.

1

I use 1Password from Agile Web Solutions. It integrates seamlessly with all common browsers on the Mac and with the help of Dropbox, I can access the same password collection from all of my machines.

If you need to access your secrets from different OS platforms, KeypassX is a good choice.

1

If you have OS X systems as your client workstations, you can use the Keychain Access program to manage passwords. We use a keychain file in a shared location accessible by system administrators and just link it in to our Keychain Access program.

1

I would recommend PasswordVault

A group in our IT Department use it and really like the features it has to offer.

The passwords are always encrypted. Individual users can choose what passwords to share. Best of all the software is free.

Whatever you decide to use make sure the OS is secure and that the passwords are encrypted.

2
  • 1
    Shouldn't the link say PasswordVault? Jun 7, 2009 at 7:13
  • "This free Lite Edition supports up to 25 services and includes a 30 day trial of auto-distribution (a Pro Edition feature)." -- sounds pretty limited.
    – Toto
    Jun 16, 2009 at 12:00
1

I was using the TIPAS service on twitter:

http://twitter.com/tipas/

But, for some reason, the twitter admins appear to have broken searching.

1

For personal passwords, since I use multiple computers, I like the free online service Clipperz. Encryption is done client-side and stored remotely. For work-related, +1 for Password Safe.

0
1

In the heads of several people. The really important ones are written on small pieces of paper, then stuck in small envelopes. We staple through the envelopes, so it's obvious if anyone opened it up.

1
  • Also, sign & date over the seam of the envelope, so you know no one used a new envelope.
    – Jay Bazuzi
    Dec 5, 2011 at 1:33
0

Personally I use eWallet, so that I can sync my password file to my phone. It does cost $30, but I've been happy with it over the years and the support has always been fast and courteous.

In a work situation, my preferred solution is Portable KeePass or similar. The executable and the password file can be put on a floppy or USB key. Master password written on the outside of the floppy/USBkey. Seal this into an envelope, sign your name and date across the flap, then put clear tape over the date and signature. Update with a new envelope every 6 months or so(1).

The envelope is then placed in a secure location. Every so often, the envelope(s) themselves should be inventoried.


(1)Optionally keep the old envelopes for historical purposes - if not, old ones must be destroyed.

0

I use the diceware method of generating passwords (so that they are easier to remember than true random garbage):

http://world.std.com/~reinhold/diceware.html

I try to use password groups for access to different types of systems, to both limit the number of passwords I have to remember at any given time and to limit damage if one is compromised.

Then I change them regularly. How regularly you change them depends on how quickly you can train yourself to remember new passwords.

If you absolutely have to, you can keep the results of the dice rolls locked up somewhere like a safe or a safety deposit box. Re-creating the passwords from the rolls (just doing the word list lookups) is an annoying enough task to serve as a deterrent to forgetting. And the worst part is that once you've looked up the first couple of words, you usually remember the rest anyway.

0

I use apg and pwsafe on my personal server. apg (Automated Password Generator) creates random passwords according to criteria you can define, and pwsafe is just the command-line Linux version of Password Safe.

I can always SSH into my server to get my passwords if necessary, though for low-value sites I do wind up using the same password in multiple places.

0

To help remember passwords I find that it is useful if they are pronouncable so you can at least say them.

I keep a list of a few passwords that I commonly need in my wallet. Not 100% secure but I think it's unlikely to cause any major issues.

The master list of all passwords is kept in a fireproof safe.

0

I just have a spreadsheet at google docs with the data.

1
  • 5
    I'm not usually one to knock SaaS, but putting your passwords on an outsourced platform seems quite the wrong thing to do.
    – Dan Carley
    Jun 8, 2009 at 11:25
0

I use Passkeeper. It's simple, free, lightweight and doesn't require installation.

0

In a prev. life, when I had to "remember" 20 different passwords for various environments with different password-generation rules for each one, I used Whisper32. It did the job well enough.

0

We use CyberArk, as we needed a PCI compliant solution (and we have HIPPA needs too), plus it is almost all customer systems. I'm not thrilled with CyberArk, but it does work.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .