Mission 99

Account hygiene

Review training accounts and root presence safely.

Security administration
7 minutes Admin Lesson 99 of 360
catgrepid
Lesson 99 of 360 0/360 lessons 0/17 missions Security administration · 7 minutes
0%
Continue View profile
Ops lab terminal Training lab
New learnerrank 0XP 0%complete
learner@clairos:/home/learner $ Unix ops lab: type a command, press Enter
Instructions 7 minutes

Click any instruction for the command details, the why, and the common mistake to avoid.

Read passwd

Run cat /etc/passwd.

cat /etc/passwd
Find root

Run grep root /etc/passwd.

grep root /etc/passwd
Show learner id

Run id.

id
Lesson support

What to notice while you play.

Objective

Inspect accounts without editing them.

Hint

Read /etc/passwd and grep root.

Why it matters

Account review is a basic security administration skill.

Common mistakes
  • Editing account files directly.
  • Ignoring service accounts.
Reference

Commands in this lesson.

cat <file>

Print text file contents.

grep [-i] <text> <file>

Find literal text inside a file.