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
8 if ! $ROOTCMD test -e
/home
/ikiwiki
/.
ssh/id_rsa
; then
9 $ROOTCMD echo |
$ROOTCMD sudo
-u ikiwiki
ssh-keygen
-N
''
12 # Configure for remote use
13 fcopy
/home
/ikiwiki
/.
ssh/config
16 $ROOTCMD git config
--global user.name
"WebUI"
17 $ROOMCMD git config
--global user.email
"ikiwiki@gluestick.office.fsf.org"