commit | 9928b1da2d6579985e31444e05cf29778473a46e | [log] [tgz] |
---|---|---|
author | Rahul Maheshwari <rahulmaheshwari@in.ibm.com> | Mon Jul 19 04:59:55 2021 -0500 |
committer | George Keishing <gkeishin@in.ibm.com> | Tue Jul 20 07:56:20 2021 +0000 |
tree | 0b4bcc981b6448db293529dff294defb6f64636f | |
parent | 421e610f1732fdc0d0f74056d9c2f3de4a2ec2ef [diff] |
Replacing deprecated pam_tally2 with faillock usage pam_tally2 is removed from dev code using below commit: - https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/41357 Change-Id: Ic43b89a83b7e1bad51af9f85957006eff87e9d6a Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/redfish/account_service/test_user_account.robot b/redfish/account_service/test_user_account.robot index a5a9de1..b77c10f 100644 --- a/redfish/account_service/test_user_account.robot +++ b/redfish/account_service/test_user_account.robot
@@ -363,9 +363,9 @@ Redfish.Post /redfish/v1/AccountService/Accounts/ body=&{payload} ... valid_status_codes=[${HTTP_CREATED}] - # Resetting pam tally count as a workaround for issue + # Resetting faillock count as a workaround for issue # openbmc/phosphor-user-manager#4 - ${cmd}= Catenate /usr/sbin/pam_tally2 -u ${username} --reset + ${cmd}= Catenate /usr/sbin/faillock --user USER --reset Bmc Execute Command ${cmd} # Verify login with created user.