pull/13/head
Igor Belitskiy 3 years ago
parent 5410438b6a
commit 88fb010983

@ -801,7 +801,14 @@ void MainWindow::is_user_wheel(){
} }
void MainWindow::pars_users() { void MainWindow::pars_users() {
int uid_max = 60000; //string str_uid_max = this->call("grep \"^UID_MAX\" /etc/login.defs | xargs | cut -d ' ' -f 2)");
//int uid_max = 0;
//if (str_uid_max.length() > 3){
// int uid_max = stoi(str_uid_max);
//}
//else{
int uid_max = 65534;
//}
while (true) { while (true) {
errno = 0; errno = 0;
passwd* entry = getpwent(); passwd* entry = getpwent();

Loading…
Cancel
Save