[][src]Function drop_root::set_user

pub fn set_user(user_name: &str) -> Result<(), DropRootError>

Set the current process user

This can drop privilegies of current process.