Add non-admin users to make it easier to get started
authorPaul Crowley <paul@lshift.net>
Fri, 20 Feb 2009 11:17:20 +0000
changeset 44 cf851f3ddf16
parent 43 0a7fc4652793
child 45 59dee3c04279
Add non-admin users to make it easier to get started
install
src/init/conf/access.conf
--- a/install	Fri Feb 20 11:15:21 2009 +0000
+++ b/install	Fri Feb 20 11:17:20 2009 +0000
@@ -22,6 +22,7 @@
     src/init/conf/remote-hgrc \
     src/init/conf/access.conf
 install -o root -g root -d /etc/mercurial-server/keys/root
+install -o root -g root -d /etc/mercurial-server/keys/users
 
 if [ x$(getent passwd hg) == x ] ; then
     adduser --system --shell /bin/sh --group --disabled-password \
--- a/src/init/conf/access.conf	Fri Feb 20 11:15:21 2009 +0000
+++ b/src/init/conf/access.conf	Fri Feb 20 11:17:20 2009 +0000
@@ -1,2 +1,3 @@
 init user=root/**
-
+deny repo=hgadmin
+write user=users/**