Lion Cipher Lab

Audit and clean up the user accounts on your own Linux machine

Why it matters

Every computer, server, and cloud system is used through 'accounts' -- named identities that log in and are allowed to do certain things. In any organization, keeping that set of accounts clean is one of the most important and least glamorous jobs in security, and it has a name: identity and access management (IAM). The reason it matters is blunt: attackers do not usually 'hack in' through some cinematic exploit -- far more often they log in, using an account that should not have existed, should have been disabled when someone left, or had far more power than the job needed. A former…

What you'll learn

Steps in this lab

  1. What a 'user account' is, and why cleaning them up is a real job
  2. Get a free Linux environment to practice on (from nothing)
  3. Open a terminal and list every account on the machine
  4. Which accounts can actually log in? (people vs services)
  5. Which accounts hold admin power? (finding sudo)
  6. Find the stale accounts: who hasn't logged in?
  7. The framework behind all of this: joiners-movers-leavers and least privilege
  8. Take action: disable an unused account (lock, don't delete)
  9. Review sudo: take back admin power that isn't needed
  10. Make it a habit, and where to take this next

Open the full interactive lab →