Skip to main content
deleted 9 characters in body
Source Link
user9517
user9517

I'm installing gitolite from CentosCentOS packages for my client. The package creates a gitolite user, which will be visible explicitly during a "git clone" operations. The client wants to use "git" and not "gitolite", in case we change to something more fancy later. I'm not very familiar with CentosCentOS, so I don't want to try to build the package myself from source. I'm wondering if there's a way to do one of the following:

  1. Trick sshd into treating "git" as "gitolite".
  2. Somehow "alias" a new git username to be the same in all ways as the existing gitolite username (perhaps through some complex combinations of useradd).
  3. Rename the "gitolite" username to "git" without upsetting later yum update operations
  4. Something else that I hadn't thought of

I'd appreciate detailed instructions or pointers. Thanks.

I'm installing gitolite from Centos packages for my client. The package creates a gitolite user, which will be visible explicitly during a "git clone" operations. The client wants to use "git" and not "gitolite", in case we change to something more fancy later. I'm not very familiar with Centos, so I don't want to try to build the package myself from source. I'm wondering if there's a way to do one of the following:

  1. Trick sshd into treating "git" as "gitolite".
  2. Somehow "alias" a new git username to be the same in all ways as the existing gitolite username (perhaps through some complex combinations of useradd).
  3. Rename the "gitolite" username to "git" without upsetting later yum update operations
  4. Something else that I hadn't thought of

I'd appreciate detailed instructions or pointers. Thanks.

I'm installing gitolite from CentOS packages for my client. The package creates a gitolite user, which will be visible explicitly during a "git clone" operations. The client wants to use "git" and not "gitolite", in case we change to something more fancy later. I'm not very familiar with CentOS, so I don't want to try to build the package myself from source. I'm wondering if there's a way to do one of the following:

  1. Trick sshd into treating "git" as "gitolite".
  2. Somehow "alias" a new git username to be the same in all ways as the existing gitolite username (perhaps through some complex combinations of useradd).
  3. Rename the "gitolite" username to "git" without upsetting later yum update operations
  4. Something else that I hadn't thought of

I'd appreciate detailed instructions or pointers.

Source Link

aliasing "git" ssh login to "gitolite"

I'm installing gitolite from Centos packages for my client. The package creates a gitolite user, which will be visible explicitly during a "git clone" operations. The client wants to use "git" and not "gitolite", in case we change to something more fancy later. I'm not very familiar with Centos, so I don't want to try to build the package myself from source. I'm wondering if there's a way to do one of the following:

  1. Trick sshd into treating "git" as "gitolite".
  2. Somehow "alias" a new git username to be the same in all ways as the existing gitolite username (perhaps through some complex combinations of useradd).
  3. Rename the "gitolite" username to "git" without upsetting later yum update operations
  4. Something else that I hadn't thought of

I'd appreciate detailed instructions or pointers. Thanks.