diff --git a/source/ublexec.cc b/source/ublexec.cc index e4c88a3..139f269 100644 --- a/source/ublexec.cc +++ b/source/ublexec.cc @@ -801,7 +801,14 @@ void MainWindow::is_user_wheel(){ } 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) { errno = 0; passwd* entry = getpwent();