[nmglug] dude, wheres my password?

Jason Davis mohadib at openactive.org
Wed Apr 13 17:19:08 PDT 2005


On Wed, 2005-04-13 at 16:51 -0600, joe at highmayhem.com wrote:
> Well the thing is that, it's not my laptop with the problem which does 
> run ubuntu. It's my desktop which is running fedora2.
> I'm using my ubuntu live CD to boot with for this process because I 
> don't have a copy of knoppix.

joe-

boot the cd - sudo bash - chroot /dev/hda1
passwd (enter) then typoe passwd

if you get command not found or some such for the passwd command

hit ctrl-d (exit chroot)

then do chroot /dev/hda2 ... continue this until you find the partion
with passwd .... this should work ... good luck

jd


> 
> Sam Noble wrote:
> 
> >On Wed, 2005-04-13 at 22:42 +0200, joe at highmayhem.com wrote:
> >  
> >
> >>Thanks guys, 
> >>I'm trying jason's idea.
> >>    
> >>
> >
> >Joe, we're all having fun discussing different ways to replace a lost
> >password... but I totally suspect in your case JD was right and you
> >*don't* have a root password to lose. That's the normal situation for an
> >ubuntu install. It's been said a few times but perhaps overlooked in all
> >this geekno-gobbledy-gook.
> >
> >To get root access on your box, you login as your regular user:
> >
> >login: joe
> >pass: <joespass>
> >
> >then su - using sudo.
> >
> >$ sudo su -
> >pass: <joespass>  <-- not <rootspass>
> >
> >If you want a root password, just do this once and then when you've
> >gotten root via sudo you can easily set a password:
> >
> ># passwd
> >
> >See?
> >
> >  
> >
> >>This is what happened when i did fdisk. It tells me "here disk is
> >>something like" bla blabla or bla bla bla. When did computer start
> >>speaking in such vauge terms?
> >>
> >>
> >>
> >>root at ubuntu:~ # fdisk 1
> >>    
> >>
> >
> >you need the -
> >
> >  
> >
> >>Unable to open 1
> >>root at ubuntu:~ # fdisk -1
> >>    
> >>
> >
> >You need to be using the lowercase L not the numeral one.
> >
> >But like I say I doubt you need to be doing this.
> >sam
> >  
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >nmglug mailing list
> >nmglug at nmglug.org
> >http://www.nmglug.org/mailman/listinfo/nmglug
> >  
> >
> 
> 
> _______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> http://www.nmglug.org/mailman/listinfo/nmglug





More information about the nmglug mailing list