10 releases (3 stable)
1.2.0 | Feb 20, 2024 |
---|---|
1.1.0 | May 15, 2023 |
1.0.0 | Feb 7, 2023 |
0.2.1 | Feb 12, 2020 |
0.1.0 | Jun 15, 2016 |
#68 in Authentication
64,649 downloads per month
Used in 4 crates
(2 directly)
14KB
277 lines
runas
A simple Rust library that can execute commands as root.
use runas::Command;
let status = Command::new("rm")
.arg("/usr/local/my-app")
.status()
.unwrap();
License and Links
- Documentation
- Issue Tracker
- Examples
- License: Apache-2.0
Dependencies
~2–15MB
~145K SLoC