(uid: &str, gid: &str)
| 1013 | /// or append a new entry if none exists. |
| 1014 | #[cfg(unix)] |
| 1015 | fn update_passwd_file(uid: &str, gid: &str) -> Result<()> { |
| 1016 | rewrite_passwd_at(Path::new("/etc/passwd"), uid, gid) |
| 1017 | } |
| 1018 | |
| 1019 | /// Rewrite the `sandbox` line in `/etc/group` with the given GID, |
| 1020 | /// or append a new entry if none exists. |
no test coverage detected