Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

Linux Users & Permissions

Manage users, groups and sudo, and control access to files with permission bits, special modes, ACLs and capabilities.

Intro1 roadmap

4 objectives 6 steps about 115 min

Check what you know

The lessons are coming later. The knowledge check is ready now.

Take the knowledge check

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • Create and manage users and groups and explain how /etc/passwd, /etc/shadow and /etc/group map names to UIDs and GIDs.
  • Apply umask, setuid, setgid and sticky bits and default ACLs to shared directories, and predict effective access when they combine with ownership and group membership.
  • Grant least-privilege administrative access with sudoers rules and find who ran what in the logs.
  • Explain process credentials, POSIX ACLs, Linux capabilities and mandatory access control (SELinux or AppArmor) at an introductory level.

Lesson plan

6 steps, about 115 min · 0 of 5 lessons available so far

  1. Who is who: users, groups, UIDs and the account files Concept · 15 min · coming later
  2. Beyond basic rwx: directory semantics, umask and the special modes Concept · 20 min · coming later
  3. Lab: a shared team directory with setgid, sticky bit and default ACLs Lab · 25 min · coming later
  4. Least privilege with sudo: scoped rules, logging and common mistakes Worked example · 20 min · coming later
  5. Beyond rwx: credentials, capabilities and mandatory access control Concept · 20 min · coming later
  6. Check: predict access decisions for users, files and processes Knowledge check · 8 questions

Practise it

On a VM, create two groups and four users, a shared directory where group members can edit but not delete each other's files, and a sudoers rule that lets one user restart only the web service; verify every row of a written access matrix with sudo -u tests.

Build it from scratch

Practice builds that exercise this skill by re-creating a real technology.

Browse 4 tutorials that practise it

References

Hard prerequisites

Unlocks

Nothing depends on this skill yet.

On these roadmaps

Progress and evidence for this skill are shared across all of them.