solaris修改密码设置规则
2013-08-27 23:05
148 查看
修改/etc/default/passwd可修改创建用户密码的规则,如密码长度、是否需要特殊字符等。
# cat /etc/default/passwd MAXWEEKS= //最大保存日期,多少周后密码失效 MINWEEKS= //最小保存日期,多少周后可再次修改密码 WARNWEEKS= //修改口令后第三个星期会收到快要修改口令的信息 PASSLENGTH=6 //密码长度限制 # NAMECHECK enables/disables login name checking. # The default is to do login name checking. # Specifying a value of "NO" will disable login name checking. # #NAMECHECK=NO //不能和用户名相同 # # HISTORY sets the number of prior password changes to keep and # check for a user when changing passwords. Setting the HISTORY # value to zero (0), or removing/commenting out the flag will # cause all users' prior password history to be discarded at the # next password change by any user. No password history will # be checked if the flag is not present or has zero value. # The maximum value of HISTORY is 26. # # This flag is only enforced for user accounts defined in the # local passwd(4)/shadow(4) files. # #HISTORY=0 //修改密码时进行历史检查,不能改成和以前一样的 # # Password complexity tunables. The values listed are the defaults # which are compatible with previous releases of passwd. # See passwd(1) and pam_authtok_check(5) for use warnings and # discussion of the use of these options. # #MINDIFF=3 #MINALPHA=2 #MINNONALPHA=1 #MINUPPER=0 #MINLOWER=0 #MAXREPEATS=0 #MINSPECIAL=0 #MINDIGIT=0 #WHITESPACE=YES # # passwd performs dictionary lookups if DICTIONLIST or DICTIONDBDIR # is defined. If the password database does not yet exist, it is # created by passwd. See passwd(1), pam_authtok_check(5) and # mkdict(1) for more information. # #DICTIONLIST= #DICTIONDBDIR=/var/passwd
相关文章推荐
- 在MySQL中修改密码及访问限制的设置方法详解
- Mysql用户密码设置修改和权限分配
- linux创建用户、设置密码、修改用户、删除用户
- Mysql 服务器设置(修改密码)
- mysql修改密码和设置远程连接
- 修改asp.net2.0内置成员管理中的强密码规则
- 使用linux批量修改xshell设置的大量主机密码
- phpmyadmin设置密码和修改密码的方法
- Mysql用户密码设置修改和权限分配
- windows 2008 修改密码规则
- linux创建用户、设置密码、修改用户、删除用户
- 修改solaris 用户密码默认8位长度
- xampp默认mysql密码设置,修改mysql的默认空密码
- Mysql用户密码设置修改和权限分配
- 在MySQL中修改密码及访问限制的设置方法详解
- MySQL中修改密码及访问限制设置详解
- Excel2013中设置指定单元格区域被修改时需要输入正确密码
- Postgresql 创建用户 可登录 设置权限 配置 远程登录 修改默认用户密码
- 修改asp.net2.0内置成员管理中的强密码规则
- sql中修改sa密码, 查看、设置端口号