Intermediate · 12 min · practise every command in the built-in terminal

🎯 Mission Briefing: New Hire Setup

It's Ana's first day. She needs a working account, the right permissions, git installed, and an SSH key so she can start pushing code by lunch. IT tickets pile up fast — let's get her set up efficiently.

Your objective

Create Ana's account, grant her the access she needs, and get her development tools ready.

Setup toolkit

sudo useradd -m ana                  # Create account with home directory
sudo passwd ana                       # Set her initial password
sudo usermod -aG sudo ana             # Grant sudo access
sudo apt install git                  # Make sure git is available
sudo -u ana ssh-keygen -t ed25519 -f /home/ana/.ssh/id_ed25519 -N ''   # Generate her SSH key

Verify everything is in place

cat /etc/passwd | grep ana
groups ana
cat /home/ana/.ssh/id_ed25519.pub

A good onboarding means Ana can log in, sudo when needed, and start committing code — all before her first coffee break.

Practice tasks

  1. Create Ana's user account with a home directory
  2. Set an initial password for Ana
  3. Add Ana to the sudo group
  4. Make sure git is installed for her
  5. Generate an SSH key pair for Ana

Commands in this lesson

Missions