version 1.2, 2001/05/28 17:25:42
|
version 1.3, 2001/05/28 17:47:27
|
Line 12 for the domain 103.
|
Line 12 for the domain 103.
|
2. /usr/sbin/adduser dc103 |
2. /usr/sbin/adduser dc103 |
3. passwd dc103 |
3. passwd dc103 |
enter in a password |
enter in a password |
4. login as user=www |
4. Cause 'www' to be a member of the group 'dc103' |
5. cd /home/httpd/lonUsers |
Change this line in /etc/group |
6. install -d 103/d/c/1/dc103 |
dc103:x:NUMBER: |
7. cd 103/d/c/1/dc103 |
to be |
8. echo "unix:" > passwd |
dc103:x:NUMBER:www |
9. Run the following script with the arguments |
5. Set permissions for /home/dc103 and /home/dc103/public_html |
|
to be readable by www. |
|
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 |
[script] 103 dc103 |
|
|
#!/usr/bin/perl |
#!/usr/bin/perl |
Line 47 map {
|
Line 54 map {
|
close OUT; |
close OUT; |
|
|
untie %hash; |
untie %hash; |
|
12. Restart the lon processes (/etc/rc.d/init.d/loncontrol restart) |