Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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'm using a Pandaboard as a closed system (no Ethernet, wireless, or display) which runs ubuntu 11.04 server edition. I have a external power switch and I would like to boot up the system with this switch and launch a program automatically. That means I need to get around the login procedure. On top I need sudo rights to launch the program. Would be great to get your help.

Side question: At the moment I login in as a normal user and use $sudo su to get root rights. But when I want to login as root directly it says that my password is incorrect. How is that possible?

share|improve this question

Have you set the root password yet? On default ubuntu installations, the root password usually isn't set. You could set it by sudo passwd. And then use that password for logging in as root. And as for the first part of your question, you could add the program to init scripts and it will run automatically on startup witout any login at all.

share|improve this answer

Your Answer


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.