Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Ubuntu 12.04 Desktop machine running as a server with no input devices accessible after initial setup. I need to place any application that I want to run within the boot process. I have one application that I want to run that requires superuser access to run. Is there a way that I can automate that boot so I don't have to enter my password?

share|improve this question

Since Ubuntu uses Upstart, you need to write a custom job for Upstart: http://upstart.ubuntu.com/getting-started.html

Processes started during the boot sequence have superuser privileges, so you don't need to bother with sudo, passwords and stuff.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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