ovirt循环创建用户
作者:互联网
user_prefix='user';passwd='123456'; for u in {1..56};do ovirt-aaa-jdbc-tool user add $user_prefix$u ; ovirt-aaa-jdbc-tool user password-reset $user_prefix$u --password=pass:$passwd --password-valid-to="3000-12-01 00:00:00+08:00" --force; done
user_prefix用户名前缀
passwd 用户密码
1..56 即创建56个用户
3000-12-01 00:00:00+08:00 用户有效期
标签:00,passwd,创建,用户,prefix,user,password,ovirt 来源: https://www.cnblogs.com/sealin/p/13906159.html