On Tue, 09 Nov 2010, Julio Merino wrote: > Log Message: > Remove ugly workaround to skip this if unprivileged-user=_atf and just use > 'su -m' as pooka@ did in t_mkdir.sh. As he says this may still fail if > root's shell is csh; we need a better solution.
su -m ${user} -c "/bin/sh -c 'your command here'" works if you get the quoting right, but I still think you need a better solution. --apb (Alan Barrett)