Exit script and open program via other user

Hello all..
so i have a problem i need to solve ..

#! /bin/bash 
 $SHELL
 dtterm -title my_prog -e su -user -c 'export DISPLAY=:0.0 ; /path/to/my/prog' & 2> /dev/null
 $SHELL
 intr
 exit 
 

This script will work on solaris 10 system in right clikt menu - in a secure system so i need to make it safe..
Now for this far it is working.. when i open my_prog it closes the dtterm consolu.. but for now problem is that i need in this script
remove "menu bar" and "right click menu bar" from the dtterm so noone can open a new colsule if someone have an idea please share it :slight_smile: