~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to platform/README

  • Committer: drtomc
  • Date: 2007-12-05 04:21:23 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:4
Add info about how to add a user.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
    This allows the CGI module to see the python scripts for the named user.
79
79
    This {will be,is} where the published work for the named student will be
80
80
    located.
 
81
 
 
82
Adding New Users
 
83
================
 
84
 
 
85
TODO - automate all this.
 
86
 
 
87
1. Create a subversion respository by adding
 
88
    [jdoe:/]
 
89
    jdoe=rw
 
90
  to the /home/informatics/config/svn-authz file.
 
91
 
 
92
2. Create a chroot jail (using the mkJail.sh script).
 
93
 
 
94
3. Initialize the svn repository with the commands
 
95
    cd /home/informatics/jails/jdoe/home/jdoe
 
96
    mkdir svn
 
97
    cd svn
 
98
    svn co <url to repository>/jdoe
 
99
    cd jdoe
 
100
    svn mkdir trunk
 
101
    svn ci
 
102
 
 
103
4. Create the symlinks so that the webserver can find the python code:
 
104
    cd /home/informatics/www
 
105
    ln -s /home/informatics/jails/jdoe/home/jdoe/svn/jdoe/trunk jdoe
 
106
 
 
107
5. Add authentication with htpasswd:
 
108
    htpasswd -m /home/informatics/config/digest jdoe
 
109