trifectatechfoundation

    trifectatechfoundation/sudo-rs

    A memory safe implementation of sudo and su.

    backend
    Rust
    Apache-2.0
    4.5K stars
    184 forks
    4.5K GitHub watchers
    Updated Oct 29, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    1 release in the last 90 days, the latest 59 days ago, with 87 contributors on GitHub.

    Gained 25% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Implements a memory safe and security-focused version of sudo and su commands in Rust for FreeBSD and Linux systems.
    • Provides enhanced safety and memory security compared to traditional sudo implementations by leveraging Rust's safety guarantees.
    • Use for replacing legacy sudo and su binaries with a memory safe alternative on Linux or FreeBSD servers.
    • Use for environments requiring strict PAM-based authentication integration with modern Rust tooling.
    • Use for developers or sysadmins seeking a drop-in sudo replacement that prioritizes security and auditability.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    A safety oriented and memory safe implementation of sudo and su written in Rust.

    Sudo-rs is being developed further; features you might expect from original sudo may still be unimplemented or not planned. If there is an important one you need, please request it using the issue tracker. If you encounter any usability bugs, also please report them on the issue tracker. Suspected vulnerabilities can be reported on our security page.

    An audit of sudo-rs version 0.2.0 has been performed in August 2023. The findings from that audit are addressed in the current version.

    Sudo-rs currently is targeted for FreeBSD and Linux-based operating systems only.

    The recommended way to start using sudo-rs is via the package manager of your Linux distribution.

    Excerpt from the trifectatechfoundation/sudo-rs README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    184+10

    Open issues

    88+8

    Compared with peers in Backend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    trifectatechfoundation/sudo-rs compared with Backend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/skills187.8K+2.9K15—
    DuarteSantos8/openGym19.7K+2.4K602 days ago
    shiyu-coder/Kronos47.0K+2.3K16—
    NationalSecurityAgency/ghidra98.2K+2.3K6414 days ago
    microsoft/VibeVoice56.0K+1.1K29—
    trifectatechfoundation/sudo-rs4.5K—6259 days ago
    Category median56.0K+2.3K29—

    Discover Repositories

    Search across tracked repositories by name or description