D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Kubuntu 10.04 problem ;-(

 



On Sun, May 2, 2010 at 1:00 PM, Grant Sewell <dcglug@xxxxxxxxxxxx> wrote:
On Sun, 02 May 2010 12:38:04 +0100
John Hansen wrote:

> I am stuck as I seem to have forgotten my password for Kubuntu.
> What do I do? Do I delete Kubuntu and load it from scratch with a
> new password or is there a simpler solution?
> Advice most welcome ;-)
>
> John W

If you have an alternative Linux distro you can boot (install CD?) you
can:

1) Boot from it (preferably in as minimal an environment as possible)
2) Become 'root'
3) Mount your normal system's filesystems somewhere
4) Use 'chroot' to swap your current (CD based) root filesystem for the
one you just mounted
5) Use the 'passwd' tool (as root still) to change the password for
your user
6) Reboot and (hopefully) enjoy

Grant.



I was on the right track then. :-)
Roly

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html