Skip to content

Commit 408b9ea

Browse files
committed
release 0.2.5
1 parent 5556301 commit 408b9ea

File tree

6 files changed

+33
-14
lines changed

6 files changed

+33
-14
lines changed

CHANGELOG.md

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,39 @@
11
# Changelog
22

3+
## [0.2.5] - 2025-04-01
4+
5+
### Added
6+
- `sudo visudo` will protect you from accidentally locking yourself out
7+
- Support for `--prompt` and `SUDO_PROMPT` environment variable
8+
- Support for `Defaults targetpw`
9+
- Support for `VAR=VALUE` matching in `Defaults env_keep/env_check`
10+
- Support for `--bell`
11+
12+
### Changed
13+
- Portability: sudo-rs supports FreeBSD!
14+
- `sudo -v` will only ask for a password if the policy requires it
15+
16+
### Fixed
17+
- Manual wrongly claimed `timestamp_timeout` supported negative values (#1032)
18+
- `timestamp_timeout` in excess of 292 billion years were not rejected (#1048)
19+
- Usernames in /etc/sudoers can contain special characters by using double
20+
quotes or escaping them (#1045)
21+
322
## [0.2.4] - 2025-02-25
423

524
### Added
6-
- Support for 'SETENV:' and corresponding 'sudo VAR=value command' syntax
7-
- Support for 'Defaults rootpw'
8-
- Support for 'Defaults pwfeedback'
9-
- Support for host/user/runas/command-specific Defaults
25+
- Support for `SETENV:` and corresponding `sudo VAR=value command` syntax
26+
- Support for `Defaults rootpw`
27+
- Support for `Defaults pwfeedback`
28+
- Support for host/user/runas/command-specific `Defaults`
1029

1130
### Changed
1231
- Portability: sudo-rs now has experimental support for FreeBSD!
1332
- `pam-login` feature now controls if PAM service name 'sudo-i' is used
1433

1534
### Fixed
1635
- Bug in syslog writer could cause sudo to hang (#856)
17-
- SHELL was not canonicalized when using 'sudo -s' or 'sudo -i' (#962)
36+
- SHELL was not canonicalized when using `sudo -s` or `sudo -i` (#962)
1837
- RunAs_Spec was not carried over on the same /etc/sudoers line (#974)
1938
- sudo --list did not unfold multiple-level aliases (#978)
2039
- The man page for sudoers was missing (#943)

Cargo.lock

Lines changed: 5 additions & 5 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.4"
4+
version = "0.2.5"
55
license = "Apache-2.0 OR MIT"
66
edition = "2021"
77
repository = "https://github.com/trifectatechfoundation/sudo-rs"

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.4 | sudo-rs
2+
title: SU(1) sudo-rs 0.2.5 | 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.4 | sudo-rs
2+
title: SUDO(8) sudo-rs 0.2.5 | 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.4 | sudo-rs
2+
title: VISUDO(8) sudo-rs 0.2.5 | sudo-rs
33
---
44

55
# NAME

0 commit comments

Comments
 (0)