Skip to content

Latest commit

 

History

55 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drop root

Drop root privileges.

Examples

use drop_root::set_user_group;

set_user_group("nobody", "nogroup");

Features

  • logging (default): Enable logging via log crate.

Testing

It's tested on Linux and macOS. Tests that require run as root are ignored by default.

About

Set a user id and group id, using the names, to drop root privileges

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages