ubuntu passwords

Reply

Join Date: Aug 2008
Posts: 1
Reputation: miwukkid is an unknown quantity at this point 
Solved Threads: 0
miwukkid miwukkid is offline Offline
Newbie Poster

ubuntu passwords

 
0
  #1
Aug 14th, 2008
got ubuntu harried heron on CD and ran it several times love it! finally installed it after setting up new primary partition with win 2000 and ubuntu each 32 gb Everything works fine except when I boot into ubuntu I need a password and never had the chance to select one? trying to reinstall got problematical re the partitions. so I exited. I have win 2000 Suse 10.3 and now hopefully ubuntu 8.04 via grub. The safe mode boot for ubuntu didn't seem to help.
What did I do wrong??
miwukkid
athlon 1.2 ghz 512 kb ram 128 gb hard drive etc pretty older standard system. Suse 10.3 works just great. I want to use ubuntu 8.04 exclusively in the future.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 173
Reputation: Cyber Punk is an unknown quantity at this point 
Solved Threads: 8
Cyber Punk's Avatar
Cyber Punk Cyber Punk is offline Offline
Junior Poster

Re: ubuntu passwords

 
0
  #2
Aug 14th, 2008
Hi, try root as the user and password
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 60
Reputation: BillBrown is an unknown quantity at this point 
Solved Threads: 1
BillBrown's Avatar
BillBrown BillBrown is offline Offline
Junior Poster in Training

Re: ubuntu passwords

 
0
  #3
Sep 26th, 2008
You could boot off the install disk and go into its recovery mode, electing to mount the file system under /mnt when prompted (at least, it should I believe). After the file system mount is complete, you should be given a choice to drop down to a command prompt and exist as the root user.

Find the line (should be at the top) that beings with your user name. Edit the file containing that user's password and delete the LotsOfSeeminglyRandomJunk between the first ":" and the second ":" characters from the left. Use vim (/usr/bin/vim) to open the file.

vim /etc/shadow

It will look something like this: user:LotsOfSeeminglyRandomJunk:13924:0:99999:7:::
After editing the line, it should look like this: user::13924:0:99999:7:::

Save and quit by hitting your Esc key then typing what follows before hitting your Enter key :wq!

Reboot, removing the install disk. Log in as your user with a blank password. then reset the password like this:

sudo passwd user [press enter]
[enter password]
[enter password again]

Done.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the *nix Software Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC