Annotation of doc/creating_a_user.txt, revision 1.2

1.1       harris41    1: # 04/11/2001 Scott Harrison
                      2: 
                      3: Creating a user for LON-CAPA
                      4: 
                      5: Simple Instructions (5 steps)
                      6: 1. http://frootmig.physics.fsu.edu
                      7: 2. User=fsudc Password=***
                      8: 3. http://frootmig.physics.fsu.edu/adm/createuser
                      9: 4. Phase 1: enter in a user id and domain
                     10: 5. Phase 2: enter in personal data
                     11:             (first name, middle name, 
                     12:              last name, generation,
                     13:              ID/Student Number)
                     14:             and specify authentication mechanism
                     15:             and specify system roles for user to have [none]
                     16:             and specify domain roles for user to have
1.2     ! harris41   17:     [librarian, domain guest, author, ...]
1.1       harris41   18:             and specify course roles for user to have
1.2     ! harris41   19:     [course coordinator, student, teaching assistant,
        !            20:         exam proctor, instructor, ...]
1.1       harris41   21: 
                     22: The details of what is happening (in case you are curious).
                     23: 1. Log on as a user capable of creating a user.
                     24:    1a. This must be a user with a "mau" privilege.
                     25:    1b. rolesplain.tab: mau-->Modify authentication mechanism
                     26:                              and data for a user
                     27:    1c. roles.tab: su:s csu&U:sma:mau
                     28:                   dc:d cli&UIK:cau&U:cdg&UIK:mau:ccc&U:cin&UIK:
                     29:                          cta&UIK:cep&UIK:ccr&UIK:cst&UIK:ca\d&UIK
                     30:    1d. So, you have to be a dc=domain coordinator or a su=superuser
                     31: 2. Access the loncreateuser.pm handler.
                     32:    2a. This is defined in /etc/srm.conf.
                     33:    2b. Here is the /etc/srm.conf entry:
                     34: <Location /adm/createuser>
                     35: PerlAccessHandler       Apache::lonacc
                     36: SetHandler perl-script
                     37: PerlHandler Apache::loncreateuser
                     38: ErrorDocument     403 /adm/login
                     39: ErrorDocument     406 /adm/roles
                     40: ErrorDocument     500 /adm/errorhandler
                     41: </Location>
                     42:    2c. So go to http://[machinename]/adm/createuser
                     43:    2d. loncreateuser.pm takes you through two "phases"
                     44:        (input screens)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>