root@op-admin:~# mkpasswd -l
12 -n
5
usage: mkpasswd [args] [user]
where arguments are:
-l # (length of password,
default =
12)
-d # (min # of digits,
default =
2)
-c # (min # of lowercase chars,
default =
2)
-C # (min # of uppercase chars,
default =
2)
-s # (min # of special chars,
default =
1)
-
v (verbose, show passwd interaction)
-p prog (program to
set password,
default =
passwd)
root@op-admin:~#
for x
in {
1..
5};
do mkpasswd -l
12;done
lxia2lWCb-
v4
hzr<
frP3ea1M
e3TytyjbxR6\
x<
kq85bfUljJ
ysQ-8ml7hKyj
转载于:https://www.cnblogs.com/tengfei520/p/7550736.html
相关资源:linux 随机密码生成工具mkpasswd详解及实例