shell脚本-批量添加用户
2014-04-01 14:20
489 查看
#!/bin/bash#this is a programe to create usersecho 'how many users do you want to create?'read -p 'input the numbers of users:' numcount=1while :[ $count -le $num ]dogroupadd class1useradd -G class1 student$countecho 'user student$count create successfully'count=$(($count+1))done
相关文章推荐
- shell脚本编程-例子_批量添加用户脚本
- shell脚本-批量添加用户并设置随机密码
- shell脚本:批量添加用户,并设置随机字符为密码
- 【shell脚本练习】批量添加用户和设置密码
- shell脚本批量添加用户
- 【shell脚本练习】批量添加用户和设置密码
- Shell脚本实现批量添加用户
- SHELL 脚本批量添加删除用户
- SHELL脚本批量添加用户
- 批量添加用户shell脚本详解
- shell脚本-批量添加或删除用户
- shell批量添加用户时随机生成密码脚本
- 用户管理(一):使用shell脚本批量添加指定数量的用户
- shell脚本之批量添加用户
- 写了一个Linux下批量添加用户的shell脚本
- Shell脚本实现批量添加用户
- shell 脚本实战笔记(9)--linux自动批量添加用户
- shell脚本-简单的添加用户并统计总用户数
- 批量添加用户的脚本
- 用户管理(二):使用shell脚本批量删除除root用户以外的其它用户