去掉备份冗余

This commit is contained in:
guanghongwei
2014-08-15 15:43:39 +08:00
parent 8feb77416d
commit a19a8e86df
8 changed files with 11 additions and 16 deletions

View File

@@ -20,7 +20,7 @@ fi
id $username &> /dev/null
if [ $? != '0' ];then
useradd $username
ssh -p $host2_port $host2 "useradd $username"
#ssh -p $host2_port $host2 "useradd $username"
echo $password | passwd --stdin $username
else
echo "$username have been exits."