echo "密码" | passwd --stdin

echo "密码" | passwd --stdin root

这行命令 可以修改密码

猜你喜欢

转载自indinna1.iteye.com/blog/2284577