Lines Matching refs:r
106 let r = fs::read_to_string("/etc/group"); in check_group_gid() localVariable
108 match r { in check_group_gid()
163 let r = std::process::Command::new("/bin/groupadd") in check_group_gid() localVariable
168 if let Ok(exit_status) = r { in check_group_gid()
447 let r = fs::read_to_string("/etc/passwd"); in cur_username() localVariable
450 match r { in cur_username()
476 let r = fs::read_to_string("/etc/shadow"); in check_password() localVariable
477 match r { in check_password()
587 let r = fs::read_to_string("/etc/passwd"); in is_main_group() localVariable
588 match r { in is_main_group()
645 let r = fs::read_to_string("/etc/group"); in check_group_file() localVariable
646 match r { in check_group_file()
715 let r = uid.parse::<u32>(); in scan_passwd() localVariable
716 if r.is_err() { in scan_passwd()
796 let r = gid.parse::<u32>(); in scan_group() localVariable
797 if r.is_err() { in scan_group()
877 let r = fs::read_to_string("/etc/group"); in check_groupname() localVariable
878 match r { in check_groupname()