Hi folks,
I want to restrict root access via ssh to certain (internal) hosts.
That is what pam_access.so is for, I thought, so I configured:
in /etc/security/access.conf I added (nothing in there before):
+ : root : 192.168.123.0/24 10.72.0.0/16
- : root : ALL
in /etc/pam.d/ssh I added at the
Hi,
I have it working with SSH here for a similar setup.
On Fri, Mar 20, 2009 at 09:49, Dirk H. Schulz dirk.sch...@kinzesberg.de wrote:
in /etc/pam.d/ssh I added at the end:
account required pam_access.so
I believe you have to add this line *before* the account include
system-auth line.
2 matches
Mail list logo