1use is_root::is_root; 2 3fn main() { 4 if is_root() { 5 println!("You are root"); 6 } else { 7 println!("You are not root") 8 } 9}