#公司用 export http_proxy=10.251.26.83:3128 export https_proxy=10.251.26.83:3128 export ftp_proxy=10.251.26.83:3128 yum -y install expect mkpasswd -l 10 -v root | grep ‘is *‘ >> 123.txt mkpasswd -l 10 -v was | grep ‘is *‘ >> 123.txt mkpasswd -l 10 -v logv | grep ‘is *‘ >> 123.txt
原文:http://www.cnblogs.com/sexiaoshuai/p/7654509.html