계정 1000개 일괄 등록 및 패스워드 변경 admin 2013.12.30 쉘 스크립트 작성 vi useradd.sh #!/bin/bash A=1 while [ $A -lt 1001 ] do B=echo "docs${A}" useradd $B echo “pass00##” | passwd –stdin ${B} ### virtual echo “<VirtualHost *:80>” >> /usr/local/apache/conf/extra/httpd-vhosts.conf echo “DocumentRoot /free/home/$B/html” >> /usr/local/apache/conf/extra/httpd-vhosts.conf echo “ServerName $B.wordpres.kr” >> /usr/local/apache/conf/extra/httpd-vhosts.conf echo “Cus... Read More..