[−][src]Function fungus::sys::user::pause_sudo
pub fn pause_sudo() -> FuResult<()>
Switches back to the original user under the sudo mask. Preserves the ability to raise sudo again.
Examples
ⓘ
use fungus::prelude::*; assert!(user::pause_sudo().is_ok());