我意识到帕姆_tally2被反对为支持帕姆_故障锁,但无论如何我还是必须使用它。我不明白的是这两种选择之间的区别。我觉得它们听起来是一样的:
lock_time=n
Always deny for n seconds after failed attempt.
unlock_time=n
Allow access after n seconds after failed attempt. If
this option is used the user will be locked out for the
specified amount of time after he exceeded his maximum
allowed attempts. Otherwise the account is locked until
the lock is removed by a manual intervention of the
system administrator.发布于 2021-10-12 02:46:27
更清楚的是,lock_time的S描述说:“每次尝试失败之后”。当你的登录尝试失败时,lock_time会阻止进一步的登录尝试n秒钟。在允许的最大失败登录尝试(使用deny=n指定)之后,unlock_time阻止登录尝试长达n秒钟。
您可以检查源代码以查看unlock_time只在块中用于检查。deny和lock_time用于每次理货检查。。
https://unix.stackexchange.com/questions/672832
复制相似问题