Re: [git-users] Git-Enforced Policy

2013-10-07 Thread Konstantin Khomoutov
On Thu, 3 Oct 2013 06:57:33 -0700 (PDT) job...@students.rowan.edu wrote: [...] > > > I have defined the following bash script: > > > #!/bin/bash > > > export USER=$1 > > > /bin/bash > > > > > > In the authorized_keys file I call this script with a user > > > parameter whom would be logging in

Re: [git-users] Git-Enforced Policy

2013-10-03 Thread jobj92
Thanks for the reply. On Thursday, October 3, 2013 6:29:16 AM UTC-4, Konstantin Khomoutov wrote: > > On Wed, 2 Oct 2013 13:36:42 -0700 (PDT) > job...@students.rowan.edu wrote: > > > I am trying to prevent users from attempting certain operations on my > > repository which is located on a Linux

Re: [git-users] Git-Enforced Policy

2013-10-03 Thread Konstantin Khomoutov
On Wed, 2 Oct 2013 13:36:42 -0700 (PDT) job...@students.rowan.edu wrote: > I am trying to prevent users from attempting certain operations on my > repository which is located on a Linux server by employing > Server-Side hooks. The Git manual recommends creating a shell wrapper > script to set a U

[git-users] Git-Enforced Policy

2013-10-02 Thread jobj92
Hello, I am trying to prevent users from attempting certain operations on my repository which is located on a Linux server by employing Server-Side hooks. The Git manual recommends creating a shell wrapper script to set a USER environment variable, which will then be used to restrict certain pe