From bb8a4dc97d84f37391b337a78308c826c283a7aa Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 30 May 2026 09:54:48 +0200 Subject: [PATCH] Add shadow-rs project page --- content/_index.md | 6 ++++++ content/shadow-rs.md | 32 ++++++++++++++++++++++++++++++++ templates/base.html | 1 + 3 files changed, 39 insertions(+) create mode 100644 content/shadow-rs.md diff --git a/content/_index.md b/content/_index.md index 6254c86d1..e7d9145cf 100644 --- a/content/_index.md +++ b/content/_index.md @@ -100,6 +100,12 @@ Ubuntu is already [carefully but purposefully adopting](https://discourse.ubuntu BSD utility programs: cal, logger, script, wall and more.

+ +

shadow-rs

+

+ User and group management: useradd, passwd, groupadd, usermod and more. +

+
# Crates diff --git a/content/shadow-rs.md b/content/shadow-rs.md new file mode 100644 index 000000000..3f365e34f --- /dev/null +++ b/content/shadow-rs.md @@ -0,0 +1,32 @@ ++++ + +title = "shadow-rs" +template = "project.html" + +[extra] +wip = true + ++++ + +Memory-safe Rust reimplementation of Linux shadow-utils: `useradd`, `userdel`, `usermod`, `passwd`, `pwck`, `chpasswd`, `chage`, `groupadd`, `groupdel`, `groupmod`, `grpck`, `chfn`, `chsh`, and `newgrp`. + +This project aims to be a drop-in replacement for the original commands, with the same flags, exit codes, and output format as GNU shadow-utils. + +# Goals + +This project aims to be a drop-in replacement for the GNU shadow-utils, with a focus on: + +- **Drop-in compatibility** — same flags, same exit codes, same output format as GNU shadow-utils. +- **Memory safety** — eliminating buffer overflows and use-after-free vulnerabilities through Rust's type system. +- **Security hardening** — Landlock sandboxing and privilege dropping. +- **Comprehensive testing** — unit tests, property-based tests, integration tests, and fuzz targets. + +# Contributing + +To contribute to uutils shadow-rs, please see [CONTRIBUTING](https://github.com/uutils/shadow-rs/blob/main/CONTRIBUTING.md). + +# License + +uutils shadow-rs is licensed under the MIT License - see the [LICENSE](https://github.com/uutils/shadow-rs/blob/main/LICENSE) file for details. + +GNU shadow-utils is licensed under the BSD 3-Clause License. diff --git a/templates/base.html b/templates/base.html index 3be3f4f07..dbc8006de 100644 --- a/templates/base.html +++ b/templates/base.html @@ -41,6 +41,7 @@ Login Hostname Bsdutils + Shadow-rs