Lines Matching refs:userName
75 userName(sdbusplus::message::object_path(path).filename()), manager(parent)
87 manager.getSerializer().erase(userName);
95 manager.deleteUser(userName);
108 manager.updateGroupsAndPriv(userName, UsersIface::userGroups(), value);
141 manager.updateGroupsAndPriv(userName, value, UsersIface::userPrivilege());
158 return manager.isUserEnabled(userName);
176 manager.userEnable(userName, value);
185 return manager.userLockedForFailedAttempt(userName);
200 return manager.userLockedForFailedAttempt(userName, value);
209 return manager.userPasswordExpired(userName);
211 bool changeFileOwnership(const std::string& userName)
214 passwd* pwd = getpwnam(userName.c_str());
217 lg2::error("Failed to get user ID for user:{USER}", "USER", userName);
222 std::string homeDir = std::format("/home/{}/", userName);
247 std::string path = std::format(secretKeyTempPath, userName);
267 userName);
279 if (!changeFileOwnership(userName))
384 std::string path = std::format("{}/bypassedprotocol", userName);
411 manager.setPasswordExpiration(userName, value);