perl -e '$user="whoever"; $action="whatever"; system "su", $user, "-c", "ksh -c $action");'