FREESCO 0.3.x

ID #1096

I've forgotten my root password! Now what?

You can change it back to the default password or no password, but it will require rebooting a floppy FREESCO and mounting the hard drive. Then you can edit the /mnt/hd/router/hd/router/etc/passwd file and remove the password entry for the root user. All this means is to delete the second entry in the line where the password is stored and leave the beginning semicolon and ending semicolon. The password entry should like this after editing:

root::0:0:root:/:/bin/sh

This will make the root user not have a password and when you reboot the hard drive you can login without a password. At that point you can just type

passwd

and enter a new root password.

The command to mount the harddisk when you've booted with the floppy is:

mount -t umsdos /dev/hda1 /mnt/hd

Once you have edited the file be certain and use:

sync
sync
umount /mnt/hd
reboot

Categories for this entry

Last update: 2012-02-27 20:29
Author: Dingetje
Revision: 1.1

change language
 

Print this record Print this record
Send to a friend Send to a friend
Show this as PDF file Show this as PDF file
Export as XML-File Export as XML-File

Please rate this entry:

Average rating: 5 from 5 (1 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry