Searched refs:passwdFileName (Results 1 – 2 of 2) sorted by relevance
39 static const char* passwdFileName = "/etc/ipmi_pass"; variable72 if (stat(passwdFileName, &st) == 0) in restrictFilesPermission()76 if (chmod(passwdFileName, S_IRUSR | S_IWUSR) == -1) in restrictFilesPermission()289 std::ifstream passwdFile(passwdFileName, std::ios::in | std::ios::binary); in readPasswdFileData()448 if (stat(passwdFileName, &st) != 0) in updatePasswdSpecialFile()455 std::string pwdFile(passwdFileName); in updatePasswdSpecialFile()583 if (std::rename(strTempFileName.data(), passwdFileName) != 0) in updatePasswdSpecialFile()595 if (stat(passwdFileName, &fileStat) != 0) in getUpdatedFileTime()
56 static constexpr const char* passwdFileName = "/etc/passwd"; variable 936 phosphor::user::File passwd(passwdFileName, "r"); in getUserAndSshGrpList() 939 lg2::error("Error opening {FILENAME}", "FILENAME", passwdFileName); in getUserAndSshGrpList()