Mission 93

Least privilege review

Inspect identity and simulated sudo boundaries.

Security administration
7 minutes Admin Lesson 93 of 360
whoamigroupssudo
Lesson 93 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.

Show user

Run whoami.

whoami
Show groups

Run groups.

groups
Simulated sudo inspect

Run sudo systemctl status nginx.

sudo systemctl status nginx
Lesson support

What to notice while you play.

Objective

Review what the lab learner can and cannot do.

Hint

Run sudo systemctl status nginx only after checking identity.

Why it matters

Least privilege limits blast radius.

Common mistakes
  • Assuming sudo means unrestricted admin.
  • Skipping identity checks.
Reference

Commands in this lesson.

whoami|id|groups

Inspect the learner account.