Customizing XUbuntu 12.04 Live CD - Start my Exe Automatically

Hi all ,

I am customizing the LIVE CD of Xubuntu 12.04.. I removed the ubiquity package and changed the live username and hostname using uck-gui.. I am almost done with the customization. Now after the splash screen , the text in motd displays and bash appears.. Where , I need to start my exe that is present in the LIVE CD automatically as it gets logged in to the LIVE CD session( and also it should be as root user). Can anyone guide me in doing so..

Thanks

Selva

Whose bash appears? Does this user have sudo to do what is needed? It souinds like something for an init rc script.