change user ID and execute command