Passwords and MFA
Long unique passphrases plus a second factor beat complex passwords reused everywhere.
- Use a password manager so every account gets a unique passphrase.
- Prefer long passphrases over short passwords with many symbols.
- Enable phishing-resistant MFA and store recovery codes offline.
- Keep sessions short so idle logins expire.
In plain English
A password manager is a program that generates, stores and fills in a different password for every account, so you only remember one master password. For guessing resistance, length matters more than complexity, and a five-word passphrase beats a short password full of symbols. Multi-factor authentication (MFA) asks for a second proof of identity, such as a code or a security key, so a stolen password alone is not enough to log in. Phishing-resistant MFA uses a hardware security key or passkey that cannot be typed into a fake login page, while recovery codes are one-time backup codes stored offline for when that key is lost. Session timeouts automatically sign you out after inactivity, so an unattended or stolen session cannot be reused for long.
Step by step
- 1Install a password manager and set a long, memorable master password you have never reused.
- 2Generate a unique passphrase for your most important account and save it in the manager.
- 3Enable multi-factor authentication and choose a phishing-resistant method such as a security key or passkey.
- 4Save the recovery codes the service gives you in an offline place you can find later.
- 5Confirm the account signs you out after a period of inactivity, or shorten the session timeout.
shuf -n 5 /usr/share/dict/words | paste -sd ' '
pass generate email/work 20
pass show email/workCommon mistakes
- Reusing one strong password everywhere means a single leak unlocks every account at once.
- Adding a symbol and a number to a short password does little, because attackers try those common substitutions first.
- Storing recovery codes inside the same password manager entry as the password means losing the manager loses both.
- Leaving sessions logged in indefinitely lets a stolen laptop or shared device stay authenticated for a long time.
Generate a random passphrase
Write a shell command that picks five random words from a word list and prints them on one line.
shuf -n 5 /usr/share/dict/wordsWhy is a long passphrase usually stronger than a short password with many symbols?
Make it yours.
Keep a private note for this lesson, then turn the key ideas into flashcards you can revisit.
Lock in what you just learned.
Mark this lesson complete to save your place and move one step closer to the certificate.