sogo/Misc/db/tests/helge/makeusers.py
dev-unix.inverse.qc.ca f18c764ffa see ChangeLog
Monotone-Revision: 9054022ef1ca8aeba6e34842d27d9b94ce002b89

Monotone-Author: dev-unix.inverse.qc.ca
Monotone-Date: 2006-06-15T19:34:10
Monotone-Branch: ca.inverse.sogo
2006-06-15 19:34:10 +00:00

13 lines
252 B
Python
Executable file

#!/usr/bin/python
import os, sys
HOST="localhost"
USER="agenor"
DB=""
for i in range(1, 10000):
NEWUSER="agenor%i" % ( i, )
res=os.system("createuser -A -D -h %s -U %s %s" % ( HOST, USER, NEWUSER ))
print "%s res: %i" % ( NEWUSER, res )