[Ilugc] Need role based authentication for git

  • From: g.karthikgm@xxxxxxxxx (karthik kgm)
  • Date: Thu, 7 Feb 2013 12:44:27 +0530

my gitolite installtion Steps :

1. gitoliteadmin user created in my local

2. ssh key generated for gitoliteadmin user and  I have cp pub key in ssh
folder to gitoliteadmin's home folder.

    pwd: /home/gitoliteadmin

    cp .ssh/id_rsa.pub gitoliteadmin.pub (it will cp the pub key file and
stored it in gitoliteadmin's home folder)

3. gitolite user created in server, and bin folder created in the
gitolite's home folder.

4. I moved gitoliteadmin.pub key from my local machine to server in
gitolite's home folder

5. I have cloned gitolite from  - "git clone
http://github.com/sitaramc/gitolite.git" ;(gitolite cloned to /iqs folder)

6. I have installed gitolite, (I excute following commands)

    /iqs/gitolite/install -to /home/gitolite/bin (result - no errors)

    /home/gitlite/bin/gitolite setup -pk gitoliteadmin.pub (result - no
errors)

7. In my local I cloned that gitolite-admin from server,

    git clone gitolite at xx.xx.xx.xx:gitolite-admin

**In this stage in doesn't ask password, but it asks password to clone the
gitolite-admin project.

Please assist me and let me know what mistake I did.

On Thu, Feb 7, 2013 at 11:47 AM, Mohan L <l.mohanphy at gmail.com> wrote:

On Thu, Feb 7, 2013 at 10:55 AM, karthik kgm <g.karthikgm at gmail.com>
wrote:

Hi All,

I am using git version control system, I have 2 project called "A" & "B"
and 150 developers using git for their daily development progress.
In the Dev team 100 members working on A project remaining 50 members are
working in B project, right now i don't have
any role based authentication.

What is scenario now is, 150 developers can able to view, edit & commit
both A & B project. What I need to do is A project developers(first 100
developers) can view the B project but they do not edit & commit the B
project, this is same for other B project developers (50 developers).

git version - 1.7.4.1

Operating System - Redhat 5.4

Is my point clear or need more clarification.


I am using Gitolite for git access control. Gitolite is an access control
layer on top of git. You may go through the below links.

1). https://github.com/sitaramc/gitolite

2). http://sitaramc.github.com/gitolite/master-toc.html

3).

http://www.mmncs.com/2011/07/how-to-install-and-setup-a-git-repository-server-using-gitolite-on-linux-ubuntu-11-04-server-and-client/

Thanks
Mohan L
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc




-- 
Regards,

Karthik.G

Other related posts: