summaryrefslogtreecommitdiff
blob: f979114181d113cc6b3c738ee90cc647cfe1821b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -r d0c02fe6a949 src/share/common
--- a/src/share/common	Sun Oct 06 19:21:18 2013 +0200
+++ b/src/share/common	Sun Oct 06 19:21:49 2013 +0200
@@ -108,7 +108,7 @@
          # if root, su command as monkeysphere user
 	'root')
             # requote arguments using bash builtin feature (see "help printf"):
-	    su "$MONKEYSPHERE_USER" -c "$(printf "%q " "$@")"
+	    su -s /bin/bash "$MONKEYSPHERE_USER" -c "$(printf "%q " "$@")"
 	    ;;
 
 	# otherwise, fail