Diff for /doc/Attic/how_to_domain_coordinator.txt between versions 1.7 and 1.8

version 1.7, 2001/06/01 19:02:15 version 1.8, 2001/07/18 17:06:56
Line 5  Scott Harrison Line 5  Scott Harrison
 April 17, 2001  April 17, 2001
 05/28/2001  05/28/2001
   
 There are 16 steps to this procedure.  (Eventually  There are 17 steps to this procedure.  (Eventually
 this procedure will be replaced with interfaces.  this procedure will be replaced with interfaces.
 Till then, enjoy the UNIX command line.)  Till then, enjoy the UNIX command line.)
   
Line 53  and your "www" password. Line 53  and your "www" password.
    Command: [prompt %] su USERNAME     Command: [prompt %] su USERNAME
    Example: [prompt %] su dc103     Example: [prompt %] su dc103
   
 5 (as USERNAME).  Create a public_html directory for the new user.  6 (as USERNAME).  Create a public_html directory for the new user.
    Command: [prompt %] install -d /home/USERNAME/public_html     Command: [prompt %] install -d /home/USERNAME/public_html
    Example: [prompt %] install -d /home/dc103/public_html     Example: [prompt %] install -d /home/dc103/public_html
   
 6. (as USERNAME). Set permissions for /home/dc103 and /home/dc103/public_html  7. (as USERNAME). Set permissions for /home/dc103 and /home/dc103/public_html
     to be readable and writeable by www.      to be readable and writeable by www.
    Command: [prompt %] chmod g+rw /home/USERNAME     Command: [prompt %] chmod g+rwx /home/USERNAME
             [prompt %] chmod g+rw /home/USERNAME/public_html              [prompt %] chmod g+rwx /home/USERNAME/public_html
    Example: [prompt %] chmod g+rw /home/dc103     Example: [prompt %] chmod g+rwx /home/dc103
             [prompt %] chmod g+rw /home/dc103/public_html              [prompt %] chmod g+rwx /home/dc103/public_html
   
 7. login as user=www  8. login as user=www
    Command: [prompt %] su www     Command: [prompt %] su www
             Password: WWWPASSWORD              Password: WWWPASSWORD
   
 8 (as www). cd /home/httpd/lonUsers  9. (as www). cd /home/httpd/lonUsers
   
 9. (as www) Create user directory for your new user.  10. (as www) Create user directory for your new user.
    Let U equal first letter of USERNAME     Let U equal first letter of USERNAME
    Let S equal second letter of USERNAME     Let S equal second letter of USERNAME
    Let E equal third letter of USERNAME     Let E equal third letter of USERNAME
    Command: [prompt %] install -d DOMAIN/U/S/E/USERNAME     Command: [prompt %] install -d DOMAIN/U/S/E/USERNAME
    Example: [prompt %] install -d 103/d/c/1/dc103     Example: [prompt %] install -d 103/d/c/1/dc103
   
 10. (as www) Enter the newly created user directory.  11. (as www) Enter the newly created user directory.
    Command: [prompt %] cd DOMAIN/U/S/E/USERNAME     Command: [prompt %] cd DOMAIN/U/S/E/USERNAME
    Example: [prompt %] cd 103/d/c/1/dc103     Example: [prompt %] cd 103/d/c/1/dc103
   
 11. (as www). Set your password mechanism to 'unix'   12. (as www). Set your password mechanism to 'unix' 
    Command: [prompt %] echo "unix:" > passwd     Command: [prompt %] echo "unix:" > passwd
   
 12. (as www). Create and run the following script with the arguments  13. (as www). Create and run the following script with the arguments
   Create the file described below "script.pl" or whatever name you want.    Create the file described below "script.pl" or whatever name you want.
   
   Command: [prompt %] perl script.pl DOMAIN USERNAME    Command: [prompt %] perl script.pl DOMAIN USERNAME
Line 118  close OUT; Line 118  close OUT;
   
 untie %hash;  untie %hash;
   
 13. login as root  14. login as root
     Command: [prompt %] su      Command: [prompt %] su
   
 14. Restart the lon processes (/etc/rc.d/init.d/loncontrol restart)  15. Restart the lon processes (/etc/rc.d/init.d/loncontrol restart)
 15. Restart the httpd processes (/etc/rc.d/init.d/httpd restart)  16. Restart the httpd processes (/etc/rc.d/init.d/httpd restart)
 16. You may further define the domain coordinator user (i.e. dc103)  17. You may further define the domain coordinator user (i.e. dc103)
     by going to http://MACHINENAME/adm/createuser.      by going to http://MACHINENAME/adm/createuser.
   

Removed from v.1.7  
changed lines
  Added in v.1.8


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