From: Lisa Marie Maginnis Date: Tue, 27 Jan 2015 16:39:31 +0000 (-0500) Subject: added keygen X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ee1b8211e205f69b333ae4e4ab1cf21b6cb90491;p=fai-configs.git added keygen --- diff --git a/scripts/IKIWIKI/10-ikiwiki.sh b/scripts/IKIWIKI/10-ikiwiki.sh index 1977309..82942a1 100755 --- a/scripts/IKIWIKI/10-ikiwiki.sh +++ b/scripts/IKIWIKI/10-ikiwiki.sh @@ -5,5 +5,5 @@ 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 '' + $ROOTCMD echo | $ROOTCMD sudo -u ikiwiki ssh-keygen -N '' fi