[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Sun, 02 May 2010 12:38:04 +0100If you have an alternative Linux distro you can boot (install CD?) you
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
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.
-- 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