How do I disable direct ssh login for non-root user?
Updated -
Release found:
Red Hat Enterprise Linux 3
Red Hat Enterprise Linux 4
Solution:
To accomplish this, add the pam_access
module to the PAM configuration file /etc/pam.d/sshd
:
-
Edit
/etc/pam.d/sshd
and add following line:account requir...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.