Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
point at wmd plugin
[git.ikiwiki.info.git]
/
doc
/
tips
/
untrusted_git_push.mdwn
diff --git
a/doc/tips/untrusted_git_push.mdwn
b/doc/tips/untrusted_git_push.mdwn
index 958e04e77bd5618ca853d9e09c7a942a2af8d84e..aef67a3db7f048532b90e90ad9fe6d1f99b87fbf 100644
(file)
--- a/
doc/tips/untrusted_git_push.mdwn
+++ b/
doc/tips/untrusted_git_push.mdwn
@@
-39,12
+39,15
@@
or manipulate tags.
One thing to keep an eye on is uploading large files. It may be easier to
do this via git push than using the web, and that could be abused.
One thing to keep an eye on is uploading large files. It may be easier to
do this via git push than using the web, and that could be abused.
+Also, no checking is done that the authors of commits are right, so people
+can make a commit that pretends to be done by someone else.
+
## user setup
Add a dedicated user who will push in untrusted commits. This user should have
a locked password, and `git-shell` as its shell.
## user setup
Add a dedicated user who will push in untrusted commits. This user should have
a locked password, and `git-shell` as its shell.
- root@bluebird:/home/joey>adduser --shell=/usr/bin/git-shell--disabled-password anon
+ root@bluebird:/home/joey>adduser --shell=/usr/bin/git-shell
--disabled-password anon
Adding user `anon' ...
## ikiwiki setup
Adding user `anon' ...
## ikiwiki setup