summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortg(x) <*@tg-x.net>2011-02-14 06:04:56 (GMT)
committer tg(x) <*@tg-x.net>2013-06-05 15:58:40 (GMT)
commita5377a84d1283f8937a5214f3c40d214de219b42 (patch)
tree6f0c8969fb5345b7ace568ead283702e2a7bec15
parent1ce40494640049c503499fe8711e071f3bad6ac5 (diff)
docs
-rw-r--r--README.org20
1 files changed, 14 insertions, 6 deletions
diff --git a/README.org b/README.org
index 97be762..4026ee6 100644
--- a/README.org
+++ b/README.org
@@ -21,7 +21,7 @@ key management.
- set PREFIX in Makefile and make sure the paths in the hooks are correct, then
: # make install
-- edit the settings in gitzone-shell
+- edit path settings in gitzone-shell
- create users with ssh access and set their shell to gitzone-shell
@@ -34,15 +34,23 @@ key management.
: # cd zones
: # git config receive.denyCurrentBranch ignore
: # cd hooks
- : # ln -s /usr/lib/gitzone/hooks/pre-receive
- : # ln -s /usr/lib/gitzone/hooks/post-receive
+ : # ln -s /usr/libexec/gitzone/pre-receive
+ : # ln -s /usr/libexec/gitzone/post-receive
-- create a .gitconfig for the user that contains user name & user email (used
- for auto increment commits)
+- create a .gitconfig for each user that contains user name & user email (used
+ for auto increment commits):
+ : # git config -f ~$user/.gitconfig user.name Auto Incrementer
+ : # git config -f ~$user/.gitconfig user.email "$user@ns.example.com"
+
+- add ssh keys to ~$user/.ssh/authorized_keys and enable ssh key editing if desired:
+ : # touch ~$user/.ssh/authorized_keys_edit_allowed
+
+- make sure the user's HOME directory has correct permissions:
+ : # chown -R $user:users ~$user
- edit the settings in gitzone.conf
-- create a directory for each user in $zone_dir and it them to the user, this
+- create a directory for each user in $zone_dir and chown them to the users, this
will contain a clone of the user's repository, the zone files here should be
included in named.conf.
: # cd $zone_dir