Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Tenable updates Vulnerability Priority Rating scoring method to flag fewer vulnerabilities as critical

      July 24, 2025

      Google adds updated workspace templates in Firebase Studio that leverage new Agent mode

      July 24, 2025

      AI and its impact on the developer experience, or ‘where is the joy?’

      July 23, 2025

      Google launches OSS Rebuild tool to improve trust in open source packages

      July 23, 2025

      EcoFlow’s new portable battery stations are lighter and more powerful (DC plug included)

      July 24, 2025

      7 ways Linux can save you money

      July 24, 2025

      My favorite Kindle tablet just got a kids model, and it makes so much sense

      July 24, 2025

      You can turn your Google Photos into video clips now – here’s how

      July 24, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Blade Service Injection: Direct Service Access in Laravel Templates

      July 24, 2025
      Recent

      Blade Service Injection: Direct Service Access in Laravel Templates

      July 24, 2025

      This Week in Laravel: NativePHP Mobile and AI Guidelines from Spatie

      July 24, 2025

      Retrieve the Currently Executing Closure in PHP 8.5

      July 24, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      FOSS Weekly #25.30: AUR Poisoned, Linux Rising, PPA Explained, New Open Source Grammar Checker and More

      July 24, 2025
      Recent

      FOSS Weekly #25.30: AUR Poisoned, Linux Rising, PPA Explained, New Open Source Grammar Checker and More

      July 24, 2025

      How to Open Control Panel in Windows 11

      July 24, 2025

      How to Shut Down Windows 11

      July 24, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Learning Resources»Fortifying Ubuntu’s Root with sudo‑rs: How Rust Reinforces Privilege Escalation

    Fortifying Ubuntu’s Root with sudo‑rs: How Rust Reinforces Privilege Escalation

    July 23, 2025
    Fortifying Ubuntu’s Root with sudo‑rs: How Rust Reinforces Privilege Escalation
    by George Whittaker

    Introduction

    Privilege escalation in Linux has always walked a tightrope between convenience and risk. sudo allows users to perform tasks as root without sharing the root password—intuitive, powerful—but also a high-value target for exploits rooted in memory safety bugs. Ubuntu is now pioneering a transition: replacing the traditional C-based sudo with sudo‑rs, a Rust-powered rewrite engineered for safer root handling.

    Understanding sudo‑rs

    Built under the Trifecta Tech Foundation’s “Privilege Boundary” initiative, sudo‑rs is a from-scratch implementation of sudo and su created in Rust, a language celebrated for its compile-time guarantees against memory mishaps. Designed to behave like the classic “sudo,” it supports user prompts, permission checks, and environment handling, but keeps underlying behavior Turing-equivalent.

    Why Ubuntu Is Betting on Rust

    Rust’s strict approach to memory usage eradicates whole classes of vulnerabilities—like buffer overflows and use-after-free—that have long plagued system tools. For a utility as privileged as sudo, these protections offer exponentially greater security value. Ubuntu’s strategy, dubbed “Carefully But Purposefully Oxidising Ubuntu,” is a methodical shift toward memory-safe tooling.

    Transitioning in Ubuntu 25.10 and Beyond

    Canonical has announced that Ubuntu 25.10 (“Questing Quokka”), scheduled for October 9, 2025, will ship sudo‑rs as the default /usr/bin/sudo. This serves as a proving ground ahead of Ubuntu 26.04 LTS (April 2026). Regular users will find no change—commands, flags, and password prompts remain familiar—while Ubuntu monitors real-world feedback.

    Ensuring Compatibility

    To deliver a smooth switch, Canonical is funding “Milestone 5” development in sudo‑rs to implement:

    • NOEXEC for shell escape control,

    • AppArmor integration,

    • sudoedit,

    • Support for kernels older than 5.9 (critical for Ubuntu 20.04 containers).

    A “less‑is‑more” philosophy guides, meaning legacy niche features—like LDAP-based sudoers—might remain absent. But, for most workflows, sudo‑rs should cover every essential feature.

    Coexistence and Rollback

    Ubuntu’s old sudo will still be available in the repositories and can be reselected via the alternatives system. Users needing features not yet ported to sudo‑rs can effortlessly revert.

    Go to Full Article

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleWhy is your data worth so much? | Unlocked 403 cybersecurity podcast (S2E4)
    Next Article AI at the Service of Talent: Building Evaluator Agents with Copilot and n8n

    Related Posts

    Learning Resources

    FOSS Weekly #25.30: AUR Poisoned, Linux Rising, PPA Explained, New Open Source Grammar Checker and More

    July 24, 2025
    Learning Resources

    What I learned from Inspired

    July 24, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    CVE-2025-5361 – Campcodes Online Hospital Management System SQL Injection Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    The AI Fix #48: AI Jesus, and is the AI Singularity almost upon us?

    Development

    Droip: The Modern Website Builder WordPress Needed

    Tech & Work

    Calibre 8.6.0 Delivers Dramatic Database Speed Boost

    Linux

    Highlights

    Doom 64 EX+ is an improved modern version of Doom64EX

    May 11, 2025

    Doom 64 EX+ is a continuation project of Doom 64 EX aimed to recreate DOOM…

    Pro-Iranian Hacktivist Group Leaks Personal Records from the 2024 Saudi Games

    June 25, 2025

    Harness the power of MCP servers with Amazon Bedrock Agents

    April 1, 2025

    CVE-2025-47227 – Netmake ScriptCase Authentication Bypass

    July 4, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.