# 04/11/2001 Scott Harrison
Creating a user for LON-CAPA
Simple Instructions (5 steps)
1. http://frootmig.physics.fsu.edu
2. User=fsudc Password=***
3. http://frootmig.physics.fsu.edu/adm/createuser
4. Phase 1: enter in a user id and domain
5. Phase 2: enter in personal data
(first name, middle name,
last name, generation,
ID/Student Number)
and specify authentication mechanism
and specify system roles for user to have [none]
and specify domain roles for user to have
[librarian, domain guest, author, ...]
and specify course roles for user to have
[course coordinator, student, teaching assistant,
exam proctor, instructor, ...]
The details of what is happening (in case you are curious).
1. Log on as a user capable of creating a user.
1a. This must be a user with a "mau" privilege.
1b. rolesplain.tab: mau-->Modify authentication mechanism
and data for a user
1c. roles.tab: su:s csu&U:sma:mau
dc:d cli&UIK:cau&U:cdg&UIK:mau:ccc&U:cin&UIK:
cta&UIK:cep&UIK:ccr&UIK:cst&UIK:ca\d&UIK
1d. So, you have to be a dc=domain coordinator or a su=superuser
2. Access the loncreateuser.pm handler.
2a. This is defined in /etc/srm.conf.
2b. Here is the /etc/srm.conf entry:
<Location /adm/createuser>
PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::loncreateuser
ErrorDocument 403 /adm/login
ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
</Location>
2c. So go to http://[machinename]/adm/createuser
2d. loncreateuser.pm takes you through two "phases"
(input screens)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>