Diff for /capa/capa51/UPGRADE.txt between versions 1.1 and 1.2

version 1.1, 2000/08/07 21:06:32 version 1.2, 2000/08/30 15:02:30
Line 99  of an "x" in the user's permissions).  I Line 99  of an "x" in the user's permissions).  I
 6.)  *SKIP THIS STEP IF YOU ARE NOT ENABLING THE TELNET INTERFACE*  6.)  *SKIP THIS STEP IF YOU ARE NOT ENABLING THE TELNET INTERFACE*
 For each class that telnet is enabled for, it is added as a user  For each class that telnet is enabled for, it is added as a user
 to the system without a password.  The security of the system is  to the system without a password.  The security of the system is
 maintained by using capalogin as the login shell.  To set up the   maintained by using capalogin as the login shell.  To set up the
 demonstration class, become root then use the adduser utility to create the   demonstration class, become root then use the adduser utility to create the
 user "nsc131s0".  Enter the group id the same as the instructor (cai), the  user "nsc131s0".  Enter the group id the same as the instructor (cai), the
 parent directory to be /home/teacher/CAPA51, and the login shell   home directory to be /home/teacher/CAPA51/nsc131s0, and the login shell
 to be /home/teacher/CAPA51/capalogin.  When you are prompted to   to be /home/teacher/CAPA51/capalogin.  When you are prompted to
 enter an initial password, hit return.  You then need to edit the   enter an initial password, hit return.  You then need to edit the
 /etc/passwd file to remove the "Nologin" field.    /etc/passwd file with the vipw command to remove the "Nologin" field.
   (You may also need to edit the file /etc/shadow if your system uses
   shadow passwords.)
   
 For Linux systems, you will need to create the user, edit /etc/passwd   For Linux systems, you will need to create the user, edit /etc/passwd 
 to remove the password field, change the group id number, change the home   to remove the password field, change the group id number, change the home
 directory and change the login shell.  You will not be prompted for these   directory and change the login shell.  You will not be prompted for these
 within the utility.  Make certain the group id number is the same as the   within the utility.  Make certain the group id number is the same as the
 instructor account.  Editing the passwd file is done by becoming root  instructor account.  Editing the passwd file is done by becoming root
 using the vipw command.  Finally, you must delete the directory created by  using the vipw command.  (You may also need to edit the file /etc/shadow 
 the adduser utility, for example:  if your system uses shadow passwords.)  Finally, you must delete the
   directory created by the adduser utility, for example:
   
 >rm -rf /home/nsc131s0   >rm -rf /home/nsc131s0
   
 Depending on your system, you may not be allowed to add a user without a   Depending on your system, you may not be allowed to add a user without a
 password using the adduser utility.  If this is the case, you will need  password using the adduser utility.  If this is the case, you will need   
 to manually add the user with the vipw command.  to manually add the user with the vipw command.
   
 Repeat the steps above for qns131s0 and xpc131s0 (do not add xns131s0 as  Repeat the steps above for qns131s0 and xpc131s0 (do not add xns131s0 as
 a user).  a user).
   
 The correct class entries in /etc/passwd are given below: (The paths to the   The correct class entries in /etc/passwd are given below: (The paths to the
 home directory and login shell may differ for your system.)  home directory and login shell may differ for your system.)
   
 nsc131s0::1004:103:Demonstration Class - Homework:/home/teacher/CAPA51/nsc131s0:/home/teacher/CAPA51/capalogin  nsc131s0::1004:103:Demonstration Class - Homework:/home/teacher/CAPA51/nsc131s0:
 qns131s0::1005:103:Demonstration Class - Quizzes:/home/teacher/CAPA51/qsc131s0:/home/teacher/CAPA51/capalogin  /home/teacher/CAPA51/capalogin
 xpc131s0::1006:103:Demonstration Class - Exam Partial Credit:/home/teacher/CAPA51/xpc131s0:/home/teacher/CAPA51/capalogin  qns131s0::1005:103:Demonstration Class - Quizzes:/home/teacher/CAPA51/qsc131s0:/
   home/teacher/CAPA51/capalogin
   xpc131s0::1006:103:Demonstration Class - Exam Partial Credit:/home/teacher/CAPA5
   1/xpc131s0:/home/teacher/CAPA51/capalogin
   
 7.)  Login as teacher and create the class called nsc131s0 in teacher's  7.)  Login as teacher and create the class called nsc131s0 in teacher's
 CAPA51 directory by copying this directory from DIST51/PutInCAPA51  CAPA51 directory by copying this directory from DIST51/PutInCAPA51
Line 287  lrwxrwxrwx    1 teacher  cai Line 293  lrwxrwxrwx    1 teacher  cai
 lrwxrwxrwx    1 teacher  cai             7 Jul 17 15:51 getid.html -> webpage  lrwxrwxrwx    1 teacher  cai             7 Jul 17 15:51 getid.html -> webpage
 drwxr-xr-x    2 teacher  cai          1024 Jul 17 15:51 teacher  drwxr-xr-x    2 teacher  cai          1024 Jul 17 15:51 teacher
 -rw-r--r--    1 teacher  cai          4460 Jul 17 15:51 web.settings  -rw-r--r--    1 teacher  cai          4460 Jul 17 15:51 web.settings
 -rwx--x--x    1 teacher  cai       1141535 Jul 17 15:51 webpage  -rws--x--x    1 teacher  cai       1141535 Jul 17 15:51 webpage
   
 If your permissions do not match the ones above, change them so they do.  If your permissions do not match the ones above, change them so they do.
 Read step #6 before changing your permissions for capahtml.  You may   
 also see files called web_access.log and ids.log in the capa-bin   > chmod u+s capahtml
   > chmod u+s webpage
   
   You may also see files called web_access.log and ids.log in the capa-bin 
 directory.  These files are automatically generated by the CAPA software.  directory.  These files are automatically generated by the CAPA software.
   
 The system links to the webpage program should still be there from the  6.) The system links to the webpage program should still be there from the
 previous CAPA installation.  If they do not exist, enter the following:  previous CAPA installation.  If they do not exist, enter the following:
   
 > ln -s webpage class.html  > ln -s webpage class.html
 > ln -s webpage emailid.html  > ln -s webpage emailid.html
 > ln -s webpage getid.html  > ln -s webpage getid.html
   
   
 6.)  If the user "teacher" does not own the webserver (for example, the  
 webserver is owned by the user "www"), then you will need to make the  
 capahtml file set UID.  
   
 > chmod u+s capahtml  
   
 If "teacher" owns the webserver, then leave capahtml in the default executable  
 permissions as listed in step 4.  
   
 7.)  Edit /home/teacher/PublicWeb/CAPA/capa-bin/web.settings  7.)  Edit /home/teacher/PublicWeb/CAPA/capa-bin/web.settings
 Change the first line:  Change the first line:
       set machine capa2.nscl.msu.edu        set machine capa2.nscl.msu.edu
Line 451  teacher/DIST51/CopyToPublicWeb/CAPA/capa Line 450  teacher/DIST51/CopyToPublicWeb/CAPA/capa
 instructor-name directory.  For example:  instructor-name directory.  For example:
   
 > cd /home/teacher/PublicWeb/CAPA/capa-bin/instructor-name  > cd /home/teacher/PublicWeb/CAPA/capa-bin/instructor-name
 > cp /home/DIST51/CopyToPublicWeb/CAPA/capa-bin/teacher/capasbin capasbin  > cp /home/teacher/DIST51/CopyToPublicWeb/CAPA/capa-bin/teacher/capasbin .
 > cp /home/DIST51/CopyToPublicWeb/CAPA/capa-bin/teacher/capadiscuss capadiscuss  > cp /home/teacher/DIST51/CopyToPublicWeb/CAPA/capa-bin/teacher/capadiscuss .
   
 Make sure that the permissions for the the capasbin and capadiscuss files   Make sure that the permissions for the the capasbin and capadiscuss files 
 are executable and that capasbin is set UID mode (there is an "s" instead   are executable and that capasbin is set UID mode (there is an "s" instead 
Line 517  For Linux operating systems: Line 516  For Linux operating systems:
   
 2.)  *SKIP THIS STEP IF YOU ARE NOT ENABLING THE TELNET INTERFACE*  2.)  *SKIP THIS STEP IF YOU ARE NOT ENABLING THE TELNET INTERFACE*
 Edit the password file.  For Digital Unix and Solaris operating systems:  Edit the password file.  For Digital Unix and Solaris operating systems:
  a.) Edit the entry for "classname" in the /etc/passwd file with the vipw          a.) Edit the entry for "classname" in the /etc/passwd file with the vipw
     command.              command.
  -remove the encrypted password field (or the field "NoLogin").                   -remove the encrypted password field (or the field "NoLogin").
  -Check to be certain the home directory and login shell are                    (You may need to also edit the /etc/shadow file if using
  correct.                     shadow passwords.)
  b.) A sample /etc/passwd entry is given below:                  -Check to be certain the home directory and login shell are
                   correct.
           b.) A sample /etc/passwd entry is given below:
   
 phy123s0::1007:103:Intro Physics I:/home/instructor/CAPA51/phy123s0:/home/instructor/CAPA51/capalogin  phy123s0::1007:103:Intro Physics I:/home/instructor/CAPA51/phy123s0:/home/instru
   ctor/CAPA51/capalogin
   
 For Linux operating systems:  For Linux operating systems:
  a.) Edit the entry for "classname" in the /etc/passwd file.          a.) Edit the entry for "classname" in the /etc/passwd file.
      -Remove the encrypted password field (or the field "NoLogin").                   -Remove the encrypted password field (or the field "NoLogin").
  -Change the group id number to match the group id number in                    (You may need to also edit the /etc/shadow file if using
  the instructor's account                   shadow passwords.)
  -Change the home directory to                   -Change the group id number to match the group id number in
  /home/instructor/CAPA51                  the instructor's account
  -Change the login shell to                   -Change the home directory to
  /home/instructor/CAPA51/capalogin                  /home/instructor/CAPA51
  b.) A sample /etc/passwd entry is given below:                  -Change the login shell to
                   /home/instructor/CAPA51/capalogin
           b.) A sample /etc/passwd entry is given below:
   
   phy123s0::1007:103:Intro Physics I:/home/instructor/CAPA51/phy123s0:/home/instru
   ctor/CAPA51/capalogin
   
 phy123s0::1007:103:Intro Physics I:/home/instructor/CAPA51/phy123s0:/home/instructor/CAPA51/capalogin  
   
 3.)  Make the classname directory.  Login as the "classname" owner, copy   3.)  Make the classname directory.  Login as the "classname" owner, copy 
 the contents of /home/teacher/DIST51/PutInCAPA/skeleton into the new class   the contents of /home/teacher/DIST51/PutInCAPA/skeleton into the new class 
 directory.    directory.  

Removed from v.1.1  
changed lines
  Added in v.1.2


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