35
35
print "Must run %s as root." % os.path.basename(sys.argv[0])
39
38
from ivle.database import get_store, User
40
39
from ivle.pulldown_subj import enrol_user
42
41
# Requireds and optionals will be used to display the usage message
43
42
# AND do argument processing
44
43
# The names here must correspond to the fields in the database.
47
46
('p', 'password', "Cleartext password for this user"),
48
47
('n', 'nick', "Display name (defaults to <fullname>)"),