- Posted In
- Red Hat Enterprise Linux
i have redhat 7.7, i was doing hardening after edited /etc/pam.d/password-auth and system-auth, i was trying to enable user locked after trying 3 time with wrong password accout to be locked.
after saving my config i was not able login with my admin account and none of the user is able to login as well
how i reverted the changes.
- login in in server trough single user mode and try to delete the entries added.
2.Reboot the server but still am not able to login.
please guide me how i can restore my two files in original state.