Skip to content

Commit bb8a4dc

Browse files
committed
Add shadow-rs project page
1 parent 98c6ab2 commit bb8a4dc

3 files changed

Lines changed: 39 additions & 0 deletions

File tree

content/_index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ Ubuntu is already [carefully but purposefully adopting](https://discourse.ubuntu
100100
BSD utility programs: <code>cal</code>, <code>logger</code>, <code>script</code>, <code>wall</code> and more.
101101
</p>
102102
</a>
103+
<a class="project" href="/shadow-rs">
104+
<h2>shadow-rs</h2>
105+
<p>
106+
User and group management: <code>useradd</code>, <code>passwd</code>, <code>groupadd</code>, <code>usermod</code> and more.
107+
</p>
108+
</a>
103109
</div>
104110

105111
# Crates

content/shadow-rs.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
+++
2+
3+
title = "shadow-rs"
4+
template = "project.html"
5+
6+
[extra]
7+
wip = true
8+
9+
+++
10+
11+
Memory-safe Rust reimplementation of Linux shadow-utils: `useradd`, `userdel`, `usermod`, `passwd`, `pwck`, `chpasswd`, `chage`, `groupadd`, `groupdel`, `groupmod`, `grpck`, `chfn`, `chsh`, and `newgrp`.
12+
13+
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.
14+
15+
# Goals
16+
17+
This project aims to be a drop-in replacement for the GNU shadow-utils, with a focus on:
18+
19+
- **Drop-in compatibility** — same flags, same exit codes, same output format as GNU shadow-utils.
20+
- **Memory safety** — eliminating buffer overflows and use-after-free vulnerabilities through Rust's type system.
21+
- **Security hardening** — Landlock sandboxing and privilege dropping.
22+
- **Comprehensive testing** — unit tests, property-based tests, integration tests, and fuzz targets.
23+
24+
# Contributing
25+
26+
To contribute to uutils shadow-rs, please see [CONTRIBUTING](https://github.com/uutils/shadow-rs/blob/main/CONTRIBUTING.md).
27+
28+
# License
29+
30+
uutils shadow-rs is licensed under the MIT License - see the [LICENSE](https://github.com/uutils/shadow-rs/blob/main/LICENSE) file for details.
31+
32+
GNU shadow-utils is licensed under the BSD 3-Clause License.

templates/base.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
<a href="/login">Login</a>
4242
<a href="/hostname">Hostname</a>
4343
<a href="/bsdutils">Bsdutils</a>
44+
<a href="/shadow-rs">Shadow-rs</a>
4445
</div>
4546
</div>
4647
</div>

0 commit comments

Comments
 (0)