13,420
edits
Changes
no edit summary
for x<br>
do<br>
userPassWd=$(date | md5sum | cut -d" " -f1)<br>
useradd -m -c "$(echo $x | cut -d":" -f2 | sed 's/+/ /g')" -p $userPassWd $(echo $x | cut -d":" -f1)<br>
mail -s "Server Account Information" $(echo $x | cut -d":" -f3) <<+<br>