# square/sudo_pair

Plugin for sudo that requires another human to approve and monitor privileged sudo sessions

Repository: https://github.com/square/sudo_pair
Canonical: https://ross.abutalabs.com/products/sudo_pair
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: pam, sudo, authentication, security, pairing, compliance, linux, rust
Last push: 2023-09-06T20:36:20+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3043, "days_push": 1092, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1272, forks 47 (observed 2026-08-28T04:04:12.246221+00:00)

## What it is
A sudo IO-plugin written in Rust that requires a second live human to approve and monitor privileged sudo sessions. It enforces dual-control for root access, supporting compliance requirements like SOX.

## Use cases
- require dual approval for sudo commands
- enforce two-person rule for privileged access
- meet SOX compliance for root access
- have a peer monitor live sudo sessions
- add dual-control to linux servers

## When to choose
- you need dual-control sudo for compliance audits
- you want a second human to approve and watch privileged sessions
- you run shared linux infrastructure with strict access policies

## When to avoid
- you work solo with no second approver available
- you need full privileged access management (PAM/PAM-style session recording suites)
- you need a cross-platform solution beyond linux

## Facets
- artifact type: plugin
- maturity: maintenance
- function: auth, security, plugin-system
- domain: security, developer-tools, legal
- platform: rust, cli
- tags: sudo, pam, dual-control, pairing, compliance, sox, linux

## Member repositories
- square/sudo_pair (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:12.246221+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:03:18.788042+00:00, confidence not recorded.
  - readme: https://github.com/square/sudo_pair (fetched 2026-08-28T04:04:12.246221+00:00, sha 92c1f372957a)
  - registry_crates: https://crates.io/api/v1/crates/sudo_pair (fetched 2026-08-29T12:14:33.332399+00:00, sha b6ff5582a051)
- Data as of 2026-08-30T08:39:29.467469+00:00.
