[nycbug-talk] a righteous ssh hack, or how to do fine grained auth with only one login

Jesse Callaway bonsaime at gmail.com
Mon Oct 3 21:20:19 EDT 2011


On Mon, Oct 3, 2011 at 6:28 PM, Marc Spitzer <mspitzer at gmail.com> wrote:

> http://sitaramc.github.com/gitolite/doc/gitolite-and-ssh.html
>
> how does gitolite use all this ssh magic?
>
> These are two different questions you ought to be having by now:
>
>    how does it distinguish between me and someone else, since we're
> all logging in as the same remote user "git"
>    how does it restrict what I can do within a repository
>
> its a cool hack go read
>
> --
> Freedom is nothing but a chance to be better.
> --Albert Camus
>
>  The problem with socialism is that eventually you run out
> of other people's money.
> --Margaret Thatcher
> _______________________________________________
> talk mailing list
> talk at lists.nycbug.org
> http://lists.nycbug.org/mailman/listinfo/talk
>

A really fugly hack that I've done in the past does the reverse, where this
might be desirable. You can have individual users/passwords in the system
and then vipw and set the user id to be the same. Totally fuggles, but works
where you need to do this. Some would argue you don't need to do this, but
those people were not my boss at the time.

-- 
-jesse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.nycbug.org:8443/pipermail/talk/attachments/20111003/defa694c/attachment.htm>


More information about the talk mailing list