February 12, 2016

Lab 36.1 - PAM module

I use Ubuntu and try to follow the steps described in the lab.

I unfortunately cannot make use of PAM.
I inserted the lines that were given

auth required pam_tally2.so deny=3 onerr=fail
account required pam_tally2.so

into the /etc/pam.d/sshd file, but after three failed attempts I can login via SSH successfully. The command sudo pam_tally2 does not display anything neither.

Maybe I need to put the two lines in a proper place in the file (if the order does matter)?
Can anyone help me with that? Any advices?

Click Here!