not able to type root password when prompted

By i_need_answers
Mar 22, 2006
  1. hey
    I havent been here for awhile but whenever i've had a question you guys have helped me out.... This is a weird one though...Ok, Im trying to dual-boot xp pro and ubuntu (the latest version). I can't seem to use the console though. I understand Unbuntu doesn't use root but when I type "su" and it prompts me for a password I type my user password and it says its invalid. But the weird part is when im typing no password shows up...not even little stars....Im new to linux so I might be missing something...any help is much appreciated :) thanks
  2. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    The asterisks are not supposed to show up so no one can find out the length of your password - this is standard behaviour on unix systems.

    When you do su without a username parameter, then it is the root password you have to type in. Have you tried an empty password?

    BTW, you should make a habit out of using "su -" instead of plain "su".
  3. i_need_answers

    i_need_answers TS Rookie Topic Starter Posts: 76

    ooo :) thanks that makes since....But since its Ubuntu it doesn't use root. I went into the user menu and root is there but it lists a password that I didnt make about 6 charactors long. If "su" makes it log on as root then i'll need to find out the password right? any suggestions on how to do this?
    Thanks a bunch
  4. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    You are supposed to use sudo to do root tasks on Ubuntu. How about "sudo su -"? That ought to do a su "as root", meaning it won't ask you for a password..
  5. i_need_answers

    i_need_answers TS Rookie Topic Starter Posts: 76

    thanks a bunch!! :) its working now
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...