Linux运维经常使用shell脚本之用户管理实例

一、用shell脚本批量创建Linux用户 实现要求:建立用户student1到student50,指定组为student组!并且每一个用户须要设定一个不一样的密码!html #!/bin/bash for i in `seq 1 50` do     useradd -G student student$i ;      echo student$i | passwd student$i --s
相关文章
相关标签/搜索