[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Tuesday 21 February 2006 13:58, James Wonnacott wrote: > 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? Yep, mount the disk, chroot to the root partition, type passwd. So if the disk's root partition is /dev/sdb1, you'd do: 1. mount /dev/sdb1 /mnt 2. chroot /mnt 3. passwd HTH, David. -- David Johnson www.david-web.co.uk - My Personal Website www.ethereye.org.uk - EtherEye Network Host Checker www.penguincomputing.co.uk - Need a Web Developer? -- 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