chrooting git daemon?

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

chrooting git daemon?

From: Jan Klod <hidden>
Date: 2016-06-15 22:46:56

Hello,
please, is that hard / complicated to run git daemon in chroot and what are 
the steps to do it best?
Do you consider it useless precaution there? 

Jan

Re: chrooting git daemon?

From: Klas Lindberg <hidden>
Date: 2016-06-15 22:46:56

11 jun 2009 kl. 17.30 skrev Jan Klod:
Hello,
please, is that hard / complicated to run git daemon in chroot and  
what are
the steps to do it best?
Do you consider it useless precaution there?
You do know that chroot is not a security tool, right? If you do want  
security measures, I'd suggest setting up SSH accounts with the login  
shell set to git-shell. The main difference is that you can have any  
number of trees served from the same machine without handling them all  
by the same service instance. If you wanted to accomplish the same  
with git-daemon, you'd have to let all of them listen to different  
ports. At least that's how I understand it.

BR / Klas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help