Read with Formatting | Join TechSpot! (it's free) | Bookmark / Share this



not able to type root password when prompted

i_need_answers
03-22-2006, 10:30 AM
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

Nodsu
03-23-2006, 03:02 AM
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".

Ad
03-23-2006, 03:02 AM

i_need_answers
03-23-2006, 10:03 AM
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

Nodsu
03-23-2006, 02:08 PM
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..

i_need_answers
03-26-2006, 11:52 AM
thanks a bunch!! :) its working now

 Top Technology News

 Software Downloads

Copyright © 1998-2008 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.