Mission 71

Passwd and group files

Read training account and group records.

Permissions and users
7 minutes Admin Lesson 71 of 360
catgrep
Lesson 71 of 360 0/360 lessons 0/17 missions Permissions and users · 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
Read group

Run cat /etc/group.

cat /etc/group
Find learner group

Run grep learner /etc/group.

grep learner /etc/group
Lesson support

What to notice while you play.

Objective

Recognize users and groups from system files.

Hint

Read passwd, group, then grep learner.

Why it matters

Account review often begins with these files.

Common mistakes
  • Editing account files directly.
  • Confusing usernames with group names.
Reference

Commands in this lesson.

cat <file>

Print text file contents.

grep [-i] <text> <file>

Find literal text inside a file.