Hi all,
I’m trying to setup my machine to use 2fa for ssh logins. Following a guide on the net it tells me to modify /etc/pam.d/sshd which doesn’t exist on my system. However I did find a /usr/lib/pam.d/sshd Should I modify that one, or should I copy it to /etc/pam.d/ and then modify it.
At work I user Rocky 9 (REHL 9 derived) systems which do have /etc/pam.d/sshd
Which is the more correct way of doing things?
Cheers.
Phill.