summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 475357a)
raw | patch | inline | side by side (parent: 475357a)
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sat, 15 May 2010 02:46:03 +0000 (02:46 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 20 May 2010 04:02:59 +0000 (21:02 -0700) |
This perl snippet is useful for quickly making a password without
htpasswd(1).
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
htpasswd(1).
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-cvsserver.txt | patch | blob | history |
index f414245b43798598a4e70e42777bc4d543f8bb28..c27ca4350e675e396c72e30022b26f8efff53a7f 100644 (file)
files, but Apache's MD5 crypt method differs from the one used by most C
library's crypt() function, so don't use the -m option.
+Alternatively you can produce the password with perl's crypt() operator:
+-----
+ perl -e 'my ($user, $pass) = @ARGV; printf "%s:%s\n", $user, crypt($user, $pass)' $USER password
+-----
+
Then provide your password via the pserver method, for example:
------
cvs -d:pserver:someuser:somepassword <at> server/path/repo.git co <HEAD_name>