0
linux bash scripting
I want to write a script on linux that wants to lock the system if you login 3 times and you fail.I searched about it ,but I need to a file that is in /etc/pam.d/system-user and /etc/pam.d/passwd .I do not have this 2 files in /etc/pam.d/. path .I have got a list of all my files in this path by ls -a but they do not exist. what should I do?
2 Answers
0
I checked if I had this files and I do, and I didn't find any answer on the web. Maybe you've never got this files, due to a bug, an installation error, etc...
But I think Sololearn isn't the best place to ask this kind of question. You'd better browse Linux-specialized forum and ask it on. But, can you tell me what are this files expected to do?
0
thank you for answering
I wanna do what this web says=>
https://www.thegeekdiary.com/centos-rhel-7-lock-user-account-after-n-number-of-incorrect-login-attempts/