--- /etc/init.d/boinc.orig 2016-03-29 16:25:49.167249612 +0100 +++ /etc/init.d/boinc 2016-03-29 16:20:28.936245825 +0100 @@ -81,7 +81,7 @@ password=$(cat "${RUNTIMEDIR}/gui_rpc_auth.cfg") ebegin "${SVCNAME}: Attaching to project" - su -m ${USER} -c "boinccmd --passwd \"${password}\" --project_attach ${url} ${key}" + su -m ${USER} -s /bin/sh -c "boinccmd --passwd \"${password}\" --project_attach ${url} ${key}" eend $? unset password url key @@ -96,7 +96,7 @@ password=$(cat "${RUNTIMEDIR}/gui_rpc_auth.cfg") ebegin "Stopping ${SVCNAME}" - su -m ${USER} -c "boinccmd --passwd \"${password}\" --quit" + su -m ${USER} -s /bin/sh -c "boinccmd --passwd \"${password}\" --quit" eend $? unset password