#!/bin/bash
for i in $(seq 1 10);do
User=user$i
useradd $User
echo 123.com$i | passwd --stdin $User
done
#!/bin/bash
for i in $(seq 1 10);do
User=user$i
userdel -r $User
done
转载于:https://blog.51cto.com/linchqd/1313335
#!/bin/bash
for i in $(seq 1 10);do
User=user$i
useradd $User
echo 123.com$i | passwd --stdin $User
done
#!/bin/bash
for i in $(seq 1 10);do
User=user$i
userdel -r $User
done
转载于:https://blog.51cto.com/linchqd/1313335