关于FreeBSD中密码长度策略的设置
我修改了/etc/login.conf按照man手册里,加上了如下行
:minipasswordlen=8:\
保存退出后,cap_mkdb /etc/login.conf,然后重新启动
用adduser加用户,还是可以设置很短的密码
用非root用户登录后,修改该用户密码,也可以修改为小于8位的密码
这一项完全没起作用,请问是我设置的问题吗?
有做过的朋友请指点一下,谢谢 顶一顶,谢谢 继续顶一顶,等用过的朋友来说一说,谢谢 继续顶顶 我在做实验,但一直不成功。
这个问题,整个论坛都没有人能解决...
本帖最后由 lsstarboy 于 2014-01-24 16:44 编辑
man login.conf:
RESERVED CAPABILITIES
The following capabilities are reserved for the purposes indicated and
may be supported by third-party software.They are not implemented in
the base system.
Name Type Notes Description
accounted bool false Enable session time accounting for
all users in this class.
…… exempted.
idletime time Maximum idle time before logout.
minpasswordlen number 6 The minimum length a local password
may be.
……
页:
[1]