转载请注明来源https://www.cnblogs.com/sogeisetsu/p/11397648.html Ubuntu不能使用passwd的--stdin的解决办法 可以使用chpasswd 看一下man chpasswd DESCRIPTION The chpasswd command reads a list of user name and password pairs from standard input and uses this information to update…