File:  [LON-CAPA] / doc / Attic / creating_a_user.txt
Revision 1.1: download - view: text, annotated - select for diffs
Wed Apr 11 18:28:32 2001 UTC (23 years, 1 month ago) by harris41
Branches: MAIN
CVS tags: HEAD
describing how to add a user from the standpoint of a web
interface and the standpoint of web server internals -Scott

    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
   17:     [course coordinator, librarian, domain guest, author, ...]
   18:             and specify course roles for user to have
   19:     [student, teaching assistant, exam proctor, instructor, ...]
   20: 
   21: The details of what is happening (in case you are curious).
   22: 1. Log on as a user capable of creating a user.
   23:    1a. This must be a user with a "mau" privilege.
   24:    1b. rolesplain.tab: mau-->Modify authentication mechanism
   25:                              and data for a user
   26:    1c. roles.tab: su:s csu&U:sma:mau
   27:                   dc:d cli&UIK:cau&U:cdg&UIK:mau:ccc&U:cin&UIK:
   28:                          cta&UIK:cep&UIK:ccr&UIK:cst&UIK:ca\d&UIK
   29:    1d. So, you have to be a dc=domain coordinator or a su=superuser
   30: 2. Access the loncreateuser.pm handler.
   31:    2a. This is defined in /etc/srm.conf.
   32:    2b. Here is the /etc/srm.conf entry:
   33: <Location /adm/createuser>
   34: PerlAccessHandler       Apache::lonacc
   35: SetHandler perl-script
   36: PerlHandler Apache::loncreateuser
   37: ErrorDocument     403 /adm/login
   38: ErrorDocument     406 /adm/roles
   39: ErrorDocument     500 /adm/errorhandler
   40: </Location>
   41:    2c. So go to http://[machinename]/adm/createuser
   42:    2d. loncreateuser.pm takes you through two "phases"
   43:        (input screens)

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