(name: &str)
| 103 | } |
| 104 | |
| 105 | pub fn delete_system_user(name: &str) -> Result<(), Error> { |
| 106 | let mut command = Command::new("dscl"); |
| 107 | command.args([".", "-delete", &format!("/Users/{name}")]); |
| 108 | command_status(&mut command, "dscl -delete /Users") |
| 109 | } |
| 110 | |
| 111 | pub fn install_autostart_post_write(service_path: &str) -> Result<(), Error> { |
| 112 | let mut chown = Command::new("chown"); |
nothing calls this directly
no test coverage detected