vim useradd.sh

#!/bin/bash
#自动创建系统用户
groupadd ts
for username in ts1 ts2 ts3 ts4 ts5 ts6 ts7 ts8
do
useradd -G ts $username
echo "123456" | passwd --stdin $username
done

自动创建系统用户脚本

相关文章:

  • 2021-05-05
  • 2022-03-05
  • 2021-09-12
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
  • 2021-05-21
  • 2021-10-03
猜你喜欢
  • 2021-07-11
  • 2021-11-23
  • 2021-09-15
  • 2021-06-29
  • 2021-12-17
  • 2022-12-23
  • 2021-05-18
相关资源
相似解决方案