Pablo Escopăr 199 Posted October 19, 2017 Share Posted October 19, 2017 Hi guys, today i'm gonna show you how to reset a root password usualy as a .vdi FreeBSD x.x doesen't depend actually wich version because those are default commands initialy launched from the begining of FreeBSD. I am not sure if this is posted somewhere if yes, please excuse me, so let's move on. 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: fsck Then just press y when asked until you finish and see the following screen. After making the fsck (wich help us changing the password with no errors) use the following commands: mount -u / mount -a passwd After hitting the passwd command, just enter your new password and it should be fine, reboot and that's it! Thank you guys, see you soon with new content hopfuly! Cheers and have a great code. Link to comment Share on other sites More sharing options...
Recommended Posts