Linux如何设置更复杂的密码?

 

mkpasswd                                   #设置更复杂的密码

 

                   选项:
 
                              -l                    #指定的密码位数
 
                             -d                   #指定数字位数
 
                             -c                   #小写字母位数
 
                             -C                  #大小字母位数
 
                             -s                  #特殊字符位数
 

安装命令:yum install  -y  expect

 

 

 

 

 

 

posted @ 2020-07-21 19:31  六月OvO  阅读(297)  评论(0编辑  收藏  举报