Mission 30

Identity context

Use identity commands before interpreting permissions and logs.

Terminal basics
6 minutes Core Lesson 30 of 360
whoamiidgroups
Lesson 30 of 360 0/360 lessons 0/17 missions Terminal basics · 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.

Show user

Run whoami.

whoami
Show ids

Run id.

id
Show groups

Run groups.

groups
Lesson support

What to notice while you play.

Objective

Connect user identity with permissions and ownership.

Hint

Run whoami, id, then groups.

Why it matters

Admin actions and file access depend on user and group context.

Common mistakes
  • Assuming you are root.
  • Ignoring group membership when reading access problems.
Reference

Commands in this lesson.

whoami|id|groups

Inspect the learner account.