Skip to content

Module 03 — Linux Systems, Processes and Permissions

Track: Core IT & DevOps · Level: Beginner · Suggested time: 1–3 hours for this guide and practice; additional time for full lessons

Linux powers many servers, containers and cloud workloads. Begin with read-only commands and understand the security implication of identity, permissions, processes and services before modifying a system.

Back to the Core IT & DevOps pathway · Open the original Module 03 lesson

  • Explain the key concepts in your own words, not only repeat definitions.
  • Draw or describe where this capability is used in real IT systems.
  • Collect basic, authorized evidence from a guided exercise.
  • Explain at least one common failure and the safest next troubleshooting step.

Linux presents files and devices through a directory hierarchy. The current working directory and effective identity determine where commands operate; paths such as /etc, /var/log and /home serve different roles.

Permissions combine owner, group and other access; modern systems can also use ACLs and policy mechanisms. A service’s identity influences which files and ports it may access. Using chmod 777 is rarely an appropriate remedy.

Processes have PIDs and run with privileges. Services may be managed by systemd on full Linux systems; many containers do not run systemd as PID 1. Commands should be interpreted in the environment you’re actually using.

Resource readings, process lists and service logs help distinguish host, application and dependency failures. Collect evidence first, then make only authorized, reversible changes.

Architecture diagram — Linux service dependencies and evidence

Section titled “Architecture diagram — Linux service dependencies and evidence”
flowchart TB
    REQUEST["Incoming approved request"] --> PORT["Listening process / socket"]
    PORT --> SERVICE["Service process identity"]
    SERVICE --> CONFIG["Configuration and environment"]
    SERVICE --> PERMS["Filesystem permissions"]
    SERVICE --> LOGS["Logs and journal"]
    CONFIG --> DIAG["Diagnosis and owner approval"]
    PERMS --> DIAG
    LOGS --> DIAG

How to interpret it: Process identity, permissions, open ports and logs interact when a Linux service starts or fails. Containers and full hosts may expose different administration tools.

Diagram exercise: Map whoami, id, ps and ss to the appropriate boxes; explain why restarting early may hide evidence.

Expected evidence: A labeled architecture or flowchart plus one safe verification step. This is independent Foundation study; no paid Academy lab is required.

A containerized web service becomes unhealthy after an image update. The operator checks its process user, environment, filesystem permissions and port listener, while remembering that systemctl may be unavailable inside an isolated container.

  1. Confirm the scope and what you are authorized to access.
  2. Separate facts, hypotheses and assumptions before recommending changes.
  3. Choose one observation that can distinguish likely causes.
  4. Record output, timestamps and the limitations of each test.
  5. Escalate with evidence when a change requires production permission.

Complete these tasks on your own system, in a classroom with permission, or using paper diagrams. Hosted Academy labs are not required for this free module.

  1. Make a two-column table mapping each command to the question it answers.
  2. Draw the relationship between kernel, shell, process and filesystem.
  3. Explain how a non-root service account limits possible damage.
  4. Write a read-only investigation plan for a stopped service.

Run on your own Linux VM, WSL or authorized lab:

Terminal window
whoami
id
pwd
ls -lah
uname -r
ps -eo pid,user,comm --sort=pid | head
ss -ltn

For a full Linux host with systemd:

Terminal window
systemctl --failed
journalctl --no-pager -n 20

You should identify your user/group IDs, current directory, kernel version, running processes and listening TCP sockets. A container may have a simplified process tree and no systemd; that is a useful observation, not a failure of the lesson.

Do not treat an error as failure of the learning goal. Check whether the command exists on your operating system, whether it needs permissions and whether the environment (desktop, WSL, container or VM) behaves differently. Record the observation without making unnecessary system changes.

  • Running unknown scripts with sudo
  • Blindly restarting a process before checking logs
  • Assuming permission errors should be solved with world-writable files
  1. What does whoami establish?

    Show reasoningThe current effective username for the command context.
  2. Why might systemctl fail inside a container?

    Show reasoningMany containers use an application as PID 1 and do not run systemd.
  3. Why collect a process list before restarting?

    Show reasoningIt preserves context about current state, ownership and possible failure symptoms.

Deliverable: A Linux investigation note with safe command outputs and an explanation of one permission boundary.

Store the exercise as a self-study artifact. Include purpose, scope, assumptions, tools, observations, conclusions and limitations. Do not call a simulated lab a production incident.

Continue with Foundation and then practise further

Section titled “Continue with Foundation and then practise further”

The original Module 03 lesson sequence contains the broader foundational syllabus; use the full lesson directory to access other chapters.

For structured, authorized practical activities after the conceptual work, explore Academy COMPTIA-related learning, review the GHC Labs experience and check current lab subscription terms. Foundation content itself remains free.

← Core learning path · Next: Module 04 — Windows, PowerShell and Enterprise Identity