drop-root

Crates.iodrop-root
lib.rsdrop-root
version0.1.1
sourcesrc
created_at2020-11-12 19:53:05.902721
updated_at2020-11-13 13:01:58.504829
descriptionSet a user id and group (using the names) id to drop root privileges
homepage
repositoryhttps://github.com/jhg/drop-root-rs
max_upload_size
id311740
size6,257
Jesus Hernandez (jhg)

documentation

README

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");
    // ...
}
Commit count: 8

cargo fmt