linux
AI security interview questions tagged linux, across every topic.
13 questions · 2 unlocked for you
Concepts behind "linux"
Explanations of the mechanisms these questions rely on.
Foundational
The Linux Privilege Model: Permissions, setuid, Capabilities and MACLinux decides what a process may do in layers. Discretionary permissions (owner, group, others, plus ACLs) are set by the owner of each file. setuid and setgid executables run with their owner's identity, which makes every one an escalation surface. Capabilities split root into about forty separately grantable powers, some of which are nearly root on their own. Mandatory access control (SELinux, AppArmor) adds a system-wide policy no process can change. Hardening a service means working through all four layers, not just making sure it is not UID 0. Systems & OS Security
Core
Linux Sandboxing Primitives: Namespaces, cgroups, seccomp and LandlockLinux has no single sandbox feature. Containers and sandboxes combine primitives that each answer a different question: namespaces decide what a process can see, cgroups how much it can use, capabilities which root powers remain, Landlock or a security module which files and ports it may touch, and seccomp which system calls it may make. no_new_privs ties them together by stopping privilege gain through exec. They must be applied in the right order, and all of them are enforced by one shared kernel, so they harden a process but do not isolate hostile code from a kernel bug. Systems & OS SecuritySign in