fix the su_monkeysphere_user function so that it does 'bash -c' instead of 'eval...
authorJameson Graef Rollins <jrollins@finestructure.net>
Thu, 12 Feb 2009 23:59:01 +0000 (18:59 -0500)
committerJameson Graef Rollins <jrollins@finestructure.net>
Thu, 12 Feb 2009 23:59:01 +0000 (18:59 -0500)
src/share/common

index d60631e0ab99e1c074d9b5fef9a5b9b863510c4b..42df68494fc9911c19b06896124baf7e426b8c41 100644 (file)
@@ -95,7 +95,7 @@ su_monkeysphere_user() {
     # if the current user is the monkeysphere user, then just eval
     # command
     if [ $(id -un) = "$MONKEYSPHERE_USER" ] ; then
-       eval "$@"
+       bash -c "$@"
 
     # otherwise su command as monkeysphere user
     else