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 want to know how i can become root at all times in terminal without having to type in my password or typing sudo. Thanks :D

share|improve this question
Perhaps sudo -i is what you're looking for. You have to enter your password once, but then until you exit the interactive sudo sesseion, all the commands you run are automatically sudo'ed. – Kallus Jul 6 '13 at 2:51
Obviously, if there was an ability to become root without entering your password, that would be a HUGE security risk. – Kallus Jul 6 '13 at 2:52
Ah i get you, sorry for not making my question clear... I meant how can i be rooted at all time with only typing my password once and even if i exit out of terminal i will still be rooted when i go back. Thanks for your help though :D – Jester Jul 6 '13 at 2:56
You should not be root all the time. If you think you should, you're doing it wrong. I have a previous answer on sudo that entails making it no-prompt, but I note that it's a bad idea i think...… – RobotHumans Jul 6 '13 at 3:40
It's alright, i'm not worried about security threats, it's only for my netbook and it's really slow so i would want it rooted at all times – Jester Jul 6 '13 at 4:12
up vote 0 down vote accepted

i've looked, as i wanted to do this so i could move files from /host to the desktop, and from what i've seen, there is no way, because of the security of it.

share|improve this answer
Ahh alright, thanks man :D – Jester Jul 6 '13 at 15:03
No problem, glad I could help. – Nick Jul 6 '13 at 15:04

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.