I recently installed a new gitosis on my private network on an Ubuntu server. All other clients on the network are Windows XP computers, with the exception of one Linux client
I have the following setting in gitosis.conf file:
[group MyProjectTeam]
writable = MyProjectRepo
members = user1 user2 user3
I also put the files user1.pub, user2.pub and user3.pub in keydir. Keys were generated on an Ubuntu server using ssh-keygen and distributed to their respective users. A copy of the public keys is placed in keydir.
The first two users are Windows XP users, they use msysgit + TortoiseGit to work with the repository, and one user on the Linux machine to access the repository using the default command line version of git.
Now everything is set up well, and everyone can do everything that they expect, they can pull, push, lock - everything looks great if we do not check the magazines !!!
Using user3 on a Linux machine, I tried the git log command and got the following output:
commit 1b249e239d270b814aab31eed7dc6f04ceceba32
Author: User3 <Admin@ubuntu-server.(none)>
Date: Fri Sep 11 07:26:58 2009 +0530
modifed by user3
commit 646f8b11a715273dc26280fc1da2507c997f981c
Author: unknown <Admin@.(none)>
Date: Fri Sep 11 07:10:56 2009 +0530
modified by user2
commit 9f86dc7a6bfafc1c1e520d6de3dac7c613ac85cb
Author: unknown <Admin@.(none)>
Date: Fri Sep 11 06:50:22 2009 +0530
modified
commit b1a3b64005795f9592aae05c422c70a03dbb9b58
Author: admin <Admin@ubuntu-server.(none)>
Date: Fri Sep 11 06:18:54 2009 +0530
test file added by admin
This is not true. This magazine should be able to tell me who is the Author of Push. I feel that providing the correct values ββfor Linux users as a username and emails is also added to the Linux user information, but this is not true for Windows clients, so their names are not displayed correctly. But even if I correct the names on a Windows computer, this can be compromised by emulating the names of other users, to avoid this, I do not want to rely on usernames.
, , SSH, SSH, , push Author.
git hook , , ... - ?
,
UPDATE:
.
alexandrul, , , -.
, , , , . , , , - , ?
, , . user1.ppk user1 user2.ppk user2. , - , , , , .
,
2:
. , , . , , .
: , . , .
- SVN + SSH, , SVN.