Definitions

How computers for agents work, from the hardware to the sandbox.

Definitionsr

Root (superuser)

Root is the all-powerful administrator account on Linux and other Unix systems, which can read, change and control everything on the machine.

Root is the superuser account on Unix-like systems, with user ID 0. The kernel lets root do almost anything: read any file, kill any process, load kernel code and change the network. Normal users get only the permissions granted to them. Programs that need root for one task, such as installing packages, are often run with sudo.

Because root can do everything, any program running as root is a large risk if it is attacked or has a bug. Good practice runs services as normal users and grants root only for specific tasks. Linux splits root's powers into capabilities, so a program can get one power without the rest. User namespaces let a process be root inside a namespace while being an ordinary user on the host.

Code in a sandbox often runs as root inside it, so it can install packages and change settings freely. That root is limited to the sandbox, by namespaces and dropped capabilities in a container, or by a separate kernel in a virtual machine. Root in a container is closer to the host's root than root in a virtual machine is. Platforms that run untrusted code therefore prefer stronger isolation or map root to a normal user on the host.