linuxlab.io
Tutorials▾
  • Linux & networking
    File system, processes, TCP/IP, BGP and OSPF
    →
  • Terraform & IaC
    HCL, state, plan/apply on a LocalStack sandbox
    →
  • Git & GitHub
    Object model, plumbing, branching, GitHub Actions
    →
All tutorials →
PricingAboutSign inCreate account
/
  • Introduction
  • Lessons
  • How it works
  • Simulator
  • Knowledge base
  • Interview prep
Lessons
Footer
linuxlab-TutorialsPricingAboutPrivacy & cookies
Copyright © 2026 LinuxLab. All rights reserved.

← из прошлого урока

In the last lesson you worked out the rwx bits and chmod. Now the natural question: who hands out those permissions, and why can one user delete another's file. Meet the residents of the system.

← к прошлому уроку

Базовый

Users, groups, and sudo

10 мин · урок входит в курс «Базовый»

Every process-and-pid in Linux runs on behalf of someone: it has a UID (user id) and a GID (group id). Files also have an owner and a group, the very "owner" and "group" parts you saw in file-permissions. The commands id, whoami, groups, and sudo all revolve around these ideas.

Урок закрыт

Чтобы запустить sandbox и пройти этот урок целиком, нужен соответствующий курс. Внутри - ещё много практических уроков того же уровня и сквозной прогресс.

Купить курсВойти← Все уроки

дальше →

A file's owner is fine, but who is reading it right now is already a question about processes. Next: PIDs, parents and children, and signals: how to tell a program "shut down" and how to tell it "die now".

Открыть превью: Processes and signals: ps, kill, jobsв курсе «Базовый» - /pricing
Footer
linuxlab-
Copyright © 2026 LinuxLab. All rights reserved.
Tutorials
Pricing
About
Privacy & cookies