今天使用Denyhosts时如果信任IP被屏蔽了,会不能登录,即使在/etc/hosts.allow添加了信任IP也没有效果,因为/etc/hosts.deny的优先级大于/etc/hosts.deny。 解决: 1. 编写定时去除/etc/hosts.deny文件中得信任IP vi /usr/local/bin/delete_denyhosts_allow.bash
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号