看板 FB_security 關於我們 聯絡資訊
On 10/3/05, mario <mario@schmut.com> wrote: > So, Jared Hall wrote: > > Is there a way to block root login over 22? > > Jared > > ______________________ > > yep > > [root@snoopy ~]#grep Root /etc/ssh/sshd_config > PermitRootLogin no This is not sufficient if ssh is using PAM for authentication (because PAM will allow root logins). Make sure you also have disabled PAM authentication with ChallengeResponseAuthentication no I think both of these settings default to "no" these days, but you might want to check your config to be sure. - Bob _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"