Beginners Questions New to the community? Make your first post here. If your question is regarding Mac OS X, please use the Mac OS X forum.

Reply
 
Thread Tools Display Modes
  (#1) Old
lostinparadise lostinparadise is offline
Junior Member
 
Posts: 3
Join Date: Mar 2009
Default root password - 04-22-2009, 08:59 PM

Hi all,
This is a real stupid question but I can't seem to find an answer. I completed the install of Ubuntu 804 on my mini 9 and am going through the learning curve of using linux. I am trying to make a directory, mkdir, and found that I need root access rights. A friend told me to login as root. Much to my suprise I don't know the root password. I was told that I stated it at the time of install. I tried every password I would have used and included nothing. I do not remember being asked a question for the root password. I have 3 installs of ubuntu on my machines and I now have found that I can not login as root on any of them because of this password issue. I don't know what this password would be. I am positive that I would have only used certain passwords for anything so I don't get it.

Any help would be appreciated and try not to laugh to hard.

Gordon
Reply With Quote
  (#2) Old
WolfKeeper WolfKeeper is offline
Retired Mini user
 
WolfKeeper's Avatar
 
Posts: 1,575
Join Date: Oct 2008
Default Re: root password - 04-22-2009, 09:10 PM

Fair question. In simple terms, there is no root password in Ubuntu. You didn't miss it during the install. Use the sudo command. As the first user, you're part of the admin group.

https://help.ubuntu.com/community/RootSudo


Getting an iPad
Reply With Quote
  (#3) Old
reflex reflex is offline
Guru
 
reflex's Avatar
 
Posts: 1,997
Join Date: Apr 2009
Default Re: root password - 04-22-2009, 09:17 PM

WolfKeeper is right. Ubuntu disables direct logins by the root account by default.

But one useful trick to know is "sudo bash". Running that in a terminal will give you a shell with root privileges.


Mini 9 | Intel 5100 Wifi | Ubuntu 10.04 Netbook
Mini 1012 | SSD | Intel 6200 Wifi | Ubuntu 11.10 64bit
Reply With Quote
  (#4) Old
lostinparadise lostinparadise is offline
Junior Member
 
Posts: 3
Join Date: Mar 2009
Default Re: root password - 04-23-2009, 12:22 AM

Thank you both for your help. I thought I was really losing it. Because I always write the exercise down, just for these purposes, I thought I missed a step. Interesting approach by Ubuntu, are they giving anything away by taking this approach.


Aloha
Gordon
Reply With Quote
  (#5) Old
ndblue ndblue is offline
Junior Member
 
Posts: 1
Join Date: Oct 2009
Default 10-01-2009, 03:43 AM

Hello all I have the same problem. I did not create a password but the system continues to ask me for one. I am not very computer literate can someone please go step by step and help me recover the "password".
Reply With Quote
  (#6) Old
reflex reflex is offline
Guru
 
reflex's Avatar
 
Posts: 1,997
Join Date: Apr 2009
Default 10-01-2009, 02:01 PM

Quote:
Originally Posted by ndblue View Post
Hello all I have the same problem. I did not create a password but the system continues to ask me for one. I am not very computer literate can someone please go step by step and help me recover the "password".
You're running Ubuntu?

If so, I think this procedure will work:
  1. reboot
  2. Hit ESC at the GRUB screen (after "Dell", before "Ubuntu")
  3. Choose "recovery mode"
  4. Choose "drop to root shell"
  5. execute "passwd YOURUSERNAME" (replace YOURUSERNAME with the appropriate value)
  6. Enter your new password
  7. Reboot and now your new password should be active


Mini 9 | Intel 5100 Wifi | Ubuntu 10.04 Netbook
Mini 1012 | SSD | Intel 6200 Wifi | Ubuntu 11.10 64bit
Reply With Quote
  (#7) Old
Dunhamzzz Dunhamzzz is offline
Founder
 
Dunhamzzz's Avatar
 
Posts: 1,855
Join Date: Sep 2008
Location: Norwich, UK
Send a message via Skype™ to Dunhamzzz
Default 10-01-2009, 03:47 PM

Basically if you need to do a command as root, just put "sudo" (super user do?) for the command.

xkcd - A Webcomic - Sandwich


Please do not send me support requests via PM.
Reply With Quote
Reply

« New Vostro A90 owner | Leopard installed...how to add win 7 dual boot? »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Copyright © 2008-2016 MyDellMini.com.