Linux 创建用户的同时设置密码: useradd userxx;echo "passwdxxx" | passwd --stdin userxx 转载于:https://www.cnblogs.com/sailq21/p/9238268.html