First thing, when starting the .vdi at the loader screen choose Single User Mode, in my case this is sortet as option number 2 so after pressing 2 the FreeBSD is loading a bunch of codes and we have to wait a little.
The number where the Single User Mode is set can be different from FreeBSD to FreeBSD.
Second, now after the machins is prompt and we are in the /bin/sh we can change our password.
Enter the following commands:
Then just press y when asked until you finish and see the following screen.
After making the fsck (which help us changing the password with no errors) use the following commands:
The number where the Single User Mode is set can be different from FreeBSD to FreeBSD.
Second, now after the machins is prompt and we are in the /bin/sh we can change our password.
Enter the following commands:
fsck
Then just press y when asked until you finish and see the following screen.
After making the fsck (which help us changing the password with no errors) use the following commands:
After hitting the passwd command, just enter your new password and it should be fine, reboot and that's it!mount -u /
mount -a
passwd