Home
last modified time | relevance | path

Searched refs:passwdFileName (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-host-ipmid/user_channel/
H A Dpasswd_mgr.cpp39 static const char* passwdFileName = "/etc/ipmi_pass"; variable
72 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()
/openbmc/phosphor-user-manager/
H A Duser_mgr.cpp56 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()