I have created sh script that backs up computers to a network location, and I'm trying to make a LiveCD of Ubuntu-Mini Remix 14.04 that will be able to launch the script without a GUI. The script does require some user input so I need to figure out a way for it to be interactive, as well as it needs to run as root.


I resolved this issue by launching the script as root from the bash.bashrc file. This file runs in the interactive terminal whenever the terminal is started, and as this was a live CD there is no user login set up so it ran perfectly for my purposes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.