--- doc/Attic/how_to_domain_coordinator.txt 2001/05/28 17:25:42 1.2 +++ doc/Attic/how_to_domain_coordinator.txt 2001/05/30 17:10:12 1.6 @@ -3,6 +3,7 @@ a newly installed LON-CAPA system Scott Harrison April 17, 2001 +05/28/2001 Example situation: Adding a user "dc103" to be a domain coordinator @@ -12,12 +13,20 @@ for the domain 103. 2. /usr/sbin/adduser dc103 3. passwd dc103 enter in a password -4. login as user=www -5. cd /home/httpd/lonUsers -6. install -d 103/d/c/1/dc103 -7. cd 103/d/c/1/dc103 -8. echo "unix:" > passwd -9. Run the following script with the arguments +4. Cause 'www' to be a member of the group 'dc103' + Change this line in /etc/group + dc103:x:NUMBER: + to be + dc103:x:NUMBER:www +5. Set permissions for /home/dc103 and /home/dc103/public_html + to be readable and writeable by www. + chmod g+rw /home/dc103; chmod g+rw /home/dc103/public_html +6. login as user=www +7. cd /home/httpd/lonUsers +8. install -d 103/d/c/1/dc103 +9. cd 103/d/c/1/dc103 +10. echo "unix:" > passwd +11. Run the following script with the arguments [script] 103 dc103 #!/usr/bin/perl @@ -47,3 +56,8 @@ map { close OUT; untie %hash; +12. Restart the lon processes (/etc/rc.d/init.d/loncontrol restart) +13. Restart the httpd processes (/etc/rc.d/init.d/httpd restart) +14. You may further define the domain coordinator user (i.e. dc103) + by going to http://MACHINENAME/adm/createuser. +