会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
代码改变世界
Cnblogs
Dashboard
Login
Home
Contact
Gallery
Subscribe
RSS
节奏丶
脚本批量创建10个系统帐号,并设置密码(密码为随机数,要求字符和数字等混合)
2019-09-27 15:18 by 节奏丶,
124
阅读,
0
推荐,
收藏
,
摘要:#!/bin/bashfor i in `seq 1 10`do if id user-$i > /dev/null; then read -eq "user-$i用户已存在, 是否删除(y/n)" ss if [ $ss = y ]:then userdel -rf user-$i elif [
阅读全文
0 Comment
About