If you're using the floppy or CD-ROM to boot, you may not have access to these locatiuons (since they're used by the running kernel). The easiest way is probably just mount the root partition on the system somewhere out of the way like /mnt/sysroot (you'll need to create the directory) and then delete the encrypted password for root from /mnt/sysroot/etc/shadow (2nd field. of the entry). When you reboot, the root user will be able to login with no password. You should immediately set a root password, and then you can go ahead and get access to anything you need.
|