Skip to content

Commit 58568f0

Browse files
rnijveldsquell
authored andcommitted
Release 0.2.0
1 parent 81aff9a commit 58568f0

File tree

6 files changed

+32
-7
lines changed

6 files changed

+32
-7
lines changed

CHANGELOG.md

+25
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Changelog
22

3+
## [0.2.0] - 2023-08-29
4+
5+
### Added
6+
- `visudo` can set/fix file permissions using the `--perms` CLI flag
7+
- `visudo` can set/fix the file owner using the `--owner` CLI flag
8+
- Read `env_editor` from sudoers file for visudo
9+
- Add basic support for `--list` in sudo
10+
11+
### Changed
12+
- `visudo` now uses a random filename for the temporary file you are editing
13+
- `su` now runs with a PTY by default
14+
- Included files with relative paths in the sudoers file are imported relative
15+
from the sudoers file
16+
- `sudo` now checks if ownership and setuid bits have been set correctly on
17+
its binary
18+
- When syslog messages are too large they will be split between multiple
19+
messages to prevent message truncation
20+
- We now accept a wider range of dependencies
21+
- Our MSRV (minimum supported rust version) has been set at 1.70.0
22+
23+
### Fixed
24+
- Set arg0 to the non-resolved filename when running a command, preventing
25+
issues with symlinks when commands rely on link filenames
26+
327
## [0.2.0-dev.20230711] - 2023-07-11
428

529
### Added
@@ -52,6 +76,7 @@
5276
- Use canonicalized paths for the executed binaries
5377
- Simplified CLI help to only display supported actions
5478

79+
[0.2.0]: https://github.com/memorysafety/sudo-rs/compare/v0.2.0-dev.20230711...v0.2.0
5580
[0.2.0-dev.20230711]: https://github.com/memorysafety/sudo-rs/compare/v0.2.0-dev.20230703...v0.2.0-dev.20230711
5681
[0.2.0-dev.20230703]: https://github.com/memorysafety/sudo-rs/compare/v0.2.0-dev.20230627...v0.2.0-dev.20230703
5782
[0.2.0-dev.20230627]: https://github.com/memorysafety/sudo-rs/compare/v0.1.0-dev.20230620...v0.2.0-dev.20230627

Cargo.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
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.0-dev.20230711"
4+
version = "0.2.0"
55
license = "Apache-2.0 OR MIT"
66
edition = "2021"
77
repository = "https://github.com/memorysafety/sudo-rs"

docs/man/su.1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- ---
2-
title: SU(1) sudo-rs 0.2.0-dev.20230711 | sudo-rs
2+
title: SU(1) sudo-rs 0.2.0 | sudo-rs
33
--- -->
44

55
# NAME

docs/man/sudo.8.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- ---
2-
title: SUDO(8) sudo-rs 0.2.0-dev.20230711 | sudo-rs
2+
title: SUDO(8) sudo-rs 0.2.0 | sudo-rs
33
--- -->
44

55
# NAME

docs/man/visudo.8.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- ---
2-
title: VISUDO(8) sudo-rs 0.2.0-dev.20230711 | sudo-rs
2+
title: VISUDO(8) sudo-rs 0.2.0 | sudo-rs
33
--- -->
44

55
# NAME

0 commit comments

Comments
 (0)