Mission 74

Protected paths

Try a blocked system delete and inspect the protected file.

Permissions and users
6 minutes Admin Lesson 74 of 360
rmstatwhoami
Lesson 74 of 360 0/360 lessons 0/17 missions Permissions and users · 6 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 6 minutes

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

Try blocked delete

Run rm /etc/passwd.

rm /etc/passwd
Inspect passwd

Run stat /etc/passwd.

stat /etc/passwd
Confirm user

Run whoami.

whoami
Lesson support

What to notice while you play.

Objective

Understand why system paths are protected here.

Hint

Try rm /etc/passwd, then inspect the file.

Why it matters

Safety controls matter when teaching destructive commands.

Common mistakes
  • Assuming a failed command changed state.
  • Practicing dangerous deletes on a real system.
Reference

Commands in this lesson.

rm <file>

Remove one lab file with safeguards.

stat <path>

Show lab file details.

whoami|id|groups

Inspect the learner account.