slappasswd
自动化 slappasswd
我想自动化 slappasswd,但以下不起作用: [root@controller ~]# echo -e "vagrant\nvagrant\n" | slappasswd New password: 虽然它可以自动化 passwd: [root@controller ~]# echo -e "vagrant\nvagrant\n" | passwd vagrant Changing password for user vagrant. New password: BAD PASSWORD: The password is shorter tha...