Linux批量添加用户
- 2024-09-17 05:41:55
- 来源:未知
- 在手机上看
扫一扫立即进入手机端
#!/bin/bash
for USER in $(cat username.list)
do
useradd $USER
echo mypasswd|passwd $USER --stdin
done
cat username.list
user1 user2
user3
扫一扫立即进入手机端
#!/bin/bash
for USER in $(cat username.list)
do
useradd $USER
echo mypasswd|passwd $USER --stdin
done
cat username.list
user1 user2
user3
手机游戏排行榜