D&C GLug - Home Page

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

Re: [LUG] root password

 

> I have a Linux box working as a server. It works perfectly:-)
> The problem is it was set up by a previous technician who has now left-
> taking the root password with him. Yes- I can (and have) mounted the
> disk in another box and can therefore get root access to all files.
> Is there any way of setting a new root password?
>
> Thanks
> James
>

Boot from a gentoo install CD, mount the roofs in /mnt/gentoo

type

chroot /mnt/gentoo /bin/bash

once in type

passwd

and set a new password...

job done :-)


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html