projects
/
fai-configs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37e97ed
)
added keygen
author
Lisa Marie Maginnis
<lisam@fsf.org>
Tue, 27 Jan 2015 16:32:03 +0000
(11:32 -0500)
committer
Lisa Marie Maginnis
<lisam@fsf.org>
Tue, 27 Jan 2015 16:32:03 +0000
(11:32 -0500)
scripts/IKIWIKI/10-ikiwiki.sh
patch
|
blob
|
blame
|
history
diff --git
a/scripts/IKIWIKI/10-ikiwiki.sh
b/scripts/IKIWIKI/10-ikiwiki.sh
index 2ddfea156925b3d0cf47dd1019fb66b9f4495723..19773098651a7afe047b602def561647e18ae948 100755
(executable)
--- a/
scripts/IKIWIKI/10-ikiwiki.sh
+++ b/
scripts/IKIWIKI/10-ikiwiki.sh
@@
-4,4
+4,6
@@
if ! $ROOTCMD getent passwd ikiwki ; then
$ROOTCMD adduser --system --ingroup www-data --disabled-password --gecos "ikiwiki user" ikiwiki
+if ! $ROOTCMD test -e /home/ikiwiki/.ssh/id_rsa; then
+ $ROOTCMD echo | $ROOTCMD ssh-keygen -N ''
fi