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

      Designing Better UX For Left-Handed People

      July 25, 2025

      This week in AI dev tools: Gemini 2.5 Flash-Lite, GitLab Duo Agent Platform beta, and more (July 25, 2025)

      July 25, 2025

      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

      Trump’s AI plan says a lot about open source – but here’s what it leaves out

      July 25, 2025

      Google’s new Search mode puts classic results back on top – how to access it

      July 25, 2025

      These AR swim goggles I tested have all the relevant metrics (and no subscription)

      July 25, 2025

      Google’s new AI tool Opal turns prompts into apps, no coding required

      July 25, 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

      Laravel Scoped Route Binding for Nested Resource Management

      July 25, 2025
      Recent

      Laravel Scoped Route Binding for Nested Resource Management

      July 25, 2025

      Add Reactions Functionality to Your App With Laravel Reactions

      July 25, 2025

      saasykit/laravel-open-graphy

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

      Sam Altman won’t trust ChatGPT with his “medical fate” unless a doctor is involved — “Maybe I’m a dinosaur here”

      July 25, 2025
      Recent

      Sam Altman won’t trust ChatGPT with his “medical fate” unless a doctor is involved — “Maybe I’m a dinosaur here”

      July 25, 2025

      “It deleted our production database without permission”: Bill Gates called it — coding is too complex to replace software engineers with AI

      July 25, 2025

      Top 6 new features and changes coming to Windows 11 in August 2025 — from AI agents to redesigned BSOD screens

      July 25, 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

    News & Updates

    Sam Altman won’t trust ChatGPT with his “medical fate” unless a doctor is involved — “Maybe I’m a dinosaur here”

    July 25, 2025
    News & Updates

    “It deleted our production database without permission”: Bill Gates called it — coding is too complex to replace software engineers with AI

    July 25, 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

    WhatsApp users angry over “optional” Meta AI that can’t be turned off

    Artificial Intelligence
    How to automate data extraction in healthcare: A quick guide

    How to automate data extraction in healthcare: A quick guide

    Artificial Intelligence

    NetScaler-klanten opgeroepen om nieuw ‘CitrixBleed-lek’ snel te patchen

    Security

    CVE-2025-53312 – OnionBuzz Looks Awesome CSRF Stored XSS

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    Elevating Creative Consistency

    July 2, 2025

    With that in mind, we’re focused on increasing the number of designers who receive leads and…

    CVE-2025-31701 – Dahua Network Device Buffer Overflow Vulnerability

    July 23, 2025

    Windows 11’s new update system is a brutal reminder of where the Microsoft Store falls short

    May 30, 2025
    This feature makes Copilot feel like your personal AI assistant — here’s how to test it

    This feature makes Copilot feel like your personal AI assistant — here’s how to test it

    April 9, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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