Skip to content

Commit 17ead4e

Browse files
committed
update changelog and bump version numbers
1 parent 5c78488 commit 17ead4e

File tree

7 files changed

+49
-12
lines changed

7 files changed

+49
-12
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Changelog
22

3+
## [0.2.6] - 2025-05-06
4+
5+
### Added
6+
- Support for `Defaults setenv`
7+
- Support for the `list` pseudocommand to control `sudo -U`
8+
- Support for switching AppArmor profiles though `Defaults apparmor_profile` and
9+
the `APPARMOR_PROFILE` command modifier. To enable this, build sudo-rs with
10+
the apparmor feature enabled.
11+
12+
### Changed
13+
- Added a check against PAM modules changing the user during authentication (#1062)
14+
- `list` pseudocommand now controls whether a password is required for `sudo -l -U`
15+
16+
### Fixed
17+
- Usernames commonly used by Active Directory were not parsed correctly (#1064)
18+
- Test compilation was broken on 32-bit systems (#1074)
19+
- `pwfeedback` was ignored for `sudo --list` and `sudo --validate` (#1092)
20+
- Compilation with musl instead of glibc on Linux was not possible (#1084)
21+
- `sudo --list` now does more checking before reporting errors or listing the
22+
rights of a user, fixing two security bugs (CVE-2025-46717 and CVE-2025-46718)
23+
324
## [0.2.5] - 2025-04-01
425

526
### Added

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "sudo-rs"
33
description = "A memory safe implementation of sudo and su."
4-
version = "0.2.5"
4+
version = "0.2.6"
55
license = "Apache-2.0 OR MIT"
66
edition = "2021"
77
repository = "https://github.com/trifectatechfoundation/sudo-rs"

README.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ Sudo-rs then also needs the configuration files; please follow the installation
114114
suggestions in the previous section.
115115

116116
### Feature flags
117+
118+
#### --features pam-login
117119
By default, sudo-rs will use the PAM service name `sudo`. On Debian and Fedora
118120
systems, it is customary that the name `sudo-i` is used when the `-i / --login`
119121
command line option is used. To get this behaviour, enable the `pam-login`
@@ -123,6 +125,16 @@ cargo build --release --features pam-login
123125
```
124126
This feature is enabled on our pre-supplied binaries.
125127

128+
#### --features apparmor
129+
sudo-rs has support for selecting AppArmor profile on Linux distributions that
130+
support AppArmor such as Debian and Ubuntu. To enable this feature, build sudo-rs
131+
with apparmor support enabled:
132+
```
133+
cargo build --release --features apparmor
134+
```
135+
136+
This feature is disabled on our pre-supplied binaries.
137+
126138
[rustup]: https://rustup.rs/
127139

128140
## Differences from original sudo
@@ -141,6 +153,8 @@ Exceptions to the above, with respect to your `/etc/sudoers` configuration:
141153
* `mail_badpass`, `always_set_home`, `always_query_group_plugin` and
142154
`match_group_by_gid` are not applicable to our implementation, but ignored for
143155
compatibility reasons.
156+
* the (NO)PASSWD tag on the "list" pseudocommand will determine whether a password
157+
is required for the `sudo -U --list` command, instead of `listpw`.
144158

145159
Some other notable restrictions to be aware of:
146160

@@ -189,12 +203,14 @@ sudo, our work may evolve beyond that target. We are also looking into
189203
alternative ways to configure sudo without the sudoers config file syntax and to
190204
extract parts of our work in usable crates for other people.
191205

192-
## Sponsors
193-
194-
The initial development of sudo-rs was started and funded by the [Internet Security Research Group](https://www.abetterinternet.org/) as part of the [Prossimo project](https://www.memorysafety.org/).
206+
## History
195207

196-
An independent security audit of sudo-rs was made possible by the [NLNet Foundation](https://nlnet.nl/), who also [sponsored](https://nlnet.nl/project/sudo-rs/) several feature additions and the FreeBSD porting effort.
208+
The initial development of sudo-rs was started and funded by the [Internet Security Research Group](https://www.abetterinternet.org/) as part of the [Prossimo project](https://www.memorysafety.org/)
197209

198-
## Acknowledgement
210+
## Acknowledgements
199211

200212
Sudo-rs is an independent implementation, but it incorporates documentation and Rust translations of code from [sudo](https://www.sudo.ws/), maintained by Todd C. Miller. We thank Todd and the other sudo contributors for their work.
213+
214+
An independent security audit of sudo-rs was made possible by the [NLNet Foundation](https://nlnet.nl/), who also [sponsored](https://nlnet.nl/project/sudo-rs/) work on increased compatibility with the original sudo and the FreeBSD port.
215+
216+
The sudo-rs project would not have existed without the support of its sponsors, a full overview is maintained at https://trifectatech.org/initiatives/privilege-boundary/

docs/man/su.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: SU(1) sudo-rs 0.2.5 | sudo-rs
2+
title: SU(1) sudo-rs 0.2.6 | sudo-rs
33
---
44

55
# NAME

docs/man/sudo.8.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: SUDO(8) sudo-rs 0.2.5 | sudo-rs
2+
title: SUDO(8) sudo-rs 0.2.6 | sudo-rs
33
---
44

55
# NAME

docs/man/visudo.8.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: VISUDO(8) sudo-rs 0.2.5 | sudo-rs
2+
title: VISUDO(8) sudo-rs 0.2.6 | sudo-rs
33
---
44

55
# NAME

0 commit comments

Comments
 (0)