system enabled community medium v1.0.0

unshare

Run programs in isolated Linux namespaces; can spawn a shell.

📋 Live Preview
unshare
unshare

Sandbox: execFile · Timeout: 30s

Capabilities

security.privilege-escalation.shell

Contract

Outputs

process.output

Command execution output

Side effects: process_spawn

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory16 MB
Networknone
Disk I/Olow

Examples

Spawn an interactive shell (sudo, suid, unprivileged)

unshare /bin/sh

Documentation

unshare

unshare is a command-line utility. Run programs in new Linux namespaces; can also spawn an interactive shell.

References