Re: [PATCH v2] Allow git-shell to be used as a ssh forced-command
- From
Dmitry Potapov <dpotapov@gmail.com>
- Date
- Apr 21, 2009, 11:16 UTC
- Message-ID
- <20090421111625.GJ25059@dpotapov.dyndns.org>
- In-Reply-To
- <7vbpqqa0gy.fsf@gitster.siamese.dyndns.org>
On Tue, Apr 21, 2009 at 01:13:17AM -0700, Junio C Hamano wrote:
> > Is it a valid question to ask "what's wrong with gitosis"?
Git user needs /bin/sh as the login shell, and some sysadmins aren't happy about adding any user with a real shell. OTOH, it seems Mike is not concern about having a real shell for git user...
BTW, no so long ago, I posted a smiliar patch, which not only allowed to use git-shell as a force-command (but in a more explicit way), it also made possible to assotiate some name with every ssh key, so this name could be used later in git hooks.
http://marc.info/?l=git&m=121483868801547&w=2
Dmitry