[nycbug-talk] a righteous ssh hack, or how to do fine grained auth with only one login
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:
> 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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk