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