Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

my dvd-rw was not working. but i had to install linux. so i installed ubuntu from the iso using demons tool. But when i am opening the terminal to create an user,it's prompting that only root have the permission to create an user.

i am trying to use "su" command but it's showing that authentication failed.

How can i become the root?

share|improve this question
2  
Please use question titles which describe the question. it's a about ubuntu doesn't help us help you. Also try to use complete sentences and capitalization. –  AndrejaKo Jul 7 '10 at 9:22
2  
They disabled root on your machine because they knew you'd misuse it. –  msw Jul 7 '10 at 9:51
add comment

4 Answers

sudo -i then type your pass and you will root

share|improve this answer
add comment

If you are like me and really want to use su and understand why it is disabled, one of the ways to do it would be:

sudo passwd root

or just

sudo passwd

This will allow you to create password for root and you will be able to use that user normally.

share|improve this answer
1  
Ig the OP understood why it is disabled, he wouldn't need to ask the question. –  msw Jul 7 '10 at 9:48
add comment

To become root type:

sudo su -

It is however more secure and "better" to do everything using the sudo command to elevate privileges on a per command basis rather than logging in as root.

share|improve this answer
1  
sudo -i does the same thing in one command –  matthias krull Jul 7 '10 at 11:14
add comment

Try

sudo bash

instead. You may also wish to install a graphical environment, such as KDE or GNOME; they offer their own ways to issue commands as root.

share|improve this answer
add comment

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.