2 releases
0.1.1 | Nov 13, 2020 |
---|---|
0.1.0 | Nov 12, 2020 |
#307 in FFI
49 downloads per month
6KB
82 lines
drop-root-rs
Set a user id and group (using the names) id to drop root privileges
Example
use drop_root::set_user_group;
fn main() {
// ...
set_user_group("nobody", "nogroup");
// ...
}
Dependencies
~130KB