pwgen和mkpasswd都有自己动生成密码文件的功能。而且mkpasswd可以自动更改密码到指定用户。两者的区别如下: 1、pwgen的用法 1Usage: pwgen [ OPTIONS ] [ pw_length ] [ num_pw ] 2Options supported by pwgen: 3 -c or --capitalize 4 Include at least one capital letter in the password 5 -A or --no-capitalize 6 Don't include capital letters in the password 7 -n or --numerals 8 Include at least one number in the password 9 -0 or --no-numerals 10 Don't include numbers in the password 11 -y or --symbols……

Continue reading