Commit | Line | Data |
---|---|---|
35c2205d LMM |
1 | #! /bin/bash |
2 | ||
3 | # add a ikiwiki user account | |
4 | if ! $ROOTCMD getent passwd ikiwki ; then | |
5 | $ROOTCMD adduser --system --ingroup www-data --disabled-password --gecos "ikiwiki user" ikiwiki | |
6 | ||
38fbaad3 LMM |
7 | if ! $ROOTCMD test -e /home/ikiwiki/.ssh/id_rsa; then |
8 | $ROOTCMD echo | $ROOTCMD ssh-keygen -N '' | |
35c2205d | 9 | fi |