All case studies

Where reduction worked

Uber

Removed superuser access from individual engineers

Superuser credentials now live only in a back-end service; engineers submit commands as pull requests that a second engineer approves.

Removed: superuser access from individual engineers on Uber’s data platform. The credential now exists only inside a back-end service. “Because the credentials and execution environment live in the service, engineers never hold superuser tickets on their local machines. This means there’s no way to circumvent the peer approval process.”

Outcome: since late 2025, every admin engineer has worked through the gateway, and they “have collectively executed hundreds of commands via this service.” Uber published no count of incidents avoided, so what is measured here is the removal and its adoption, not a fall in damage.

The old workflow was the usual one: assume the superuser identity, run the commands from a shell, log out. Uber names three costs. No guardrails, so a single hdfs dfs -rm -r on the wrong path is an incident. Weak attribution, because the audit log records the superuser principal rather than the engineer. And no peer review at all.

The replacement turns each command into a pull request in a dedicated git repository. CI checks syntax, checks the requester is allowed to run that action, and estimates impact where it can — for a recursive delete it queries filesystem images to count the files that would go. A second engineer approves, and the back end runs the command as superuser and streams the output back.

The part that makes it honest: “we couldn’t remove this access outright. On-call engineers need the ability to repair data issues quickly.” The gateway is scoped to risky write operations only, keeps a separate lower-friction path for read-only inspection, and accepts the added latency of review. Uber is looking at extending it to other privileged systems.

Source: Uber Engineering, Superuser Gateway: Guardrails for Privileged Command Execution (26 February 2026)