mkpasswd

-l #      (length of password, default = 7)
 
                  指定密码的长度,默认是7位数
 
-d #      (min # of digits, default = 2)
 
                  指定密码中数字最少位数,默认是2位
 
-c #      (min # of lowercase chars, default = 2)
 
                  指定密码中小写字母最少位数,默认是2位
 
-C #      (min # of uppercase chars, default = 2)
 
                  指定密码中大写字母最少位数,默认是2位
 
-s #      (min # of special chars, default = 1)
 
                  指定密码中特殊字符最少位数,默认是1位
 
转自http://www.linuxidc.com/Linux/2012-11/73687.htm
posted @ 2015-02-13 09:07  崔志朋  阅读(212)  评论(0编辑  收藏  举报