Aaron C. de Bruyn
Dabbler
- Joined
- Jun 17, 2013
- Messages
- 36
We have an old FreeNAS server sitting in our archives that had data for an office that closed years ago.
A few days ago we were told we needed data from the machine.
I don't recall which version of FreeNAS is was running, but GRUB gives me what appears to be a git commit SHA and a date of 2017-02-19.
Amazingly it boots with the only failure being an intent log drive.
The box was locked down so we don't get the menu on boot-up--just a login prompt.
We've gone through all our documentation and have thrown every password we can find at the root account. No dice.
I finally decided to reset the root password by booting into single-user mode and running:
The new password doesn't work to sign in at the console.
I can't get to the web interface because I have no idea what the IP for the box is at the moment, and it's not in a decent spot where I can do some packet inspection to try and grab the IP.
Am I missing some magic way of resetting the root password on FreeNAS boxen? Those are the two options I see throughout the forums.
A few days ago we were told we needed data from the machine.
I don't recall which version of FreeNAS is was running, but GRUB gives me what appears to be a git commit SHA and a date of 2017-02-19.
Amazingly it boots with the only failure being an intent log drive.
The box was locked down so we don't get the menu on boot-up--just a login prompt.
We've gone through all our documentation and have thrown every password we can find at the root account. No dice.
I finally decided to reset the root password by booting into single-user mode and running:
Code:
mount -urw / mount -a passwd root <enter a new password> <confirm the new password> python /usr/local/www/freenasUI/manage.py changepassword root <enter a new password> <confirm the new password> sync exit
The new password doesn't work to sign in at the console.
I can't get to the web interface because I have no idea what the IP for the box is at the moment, and it's not in a decent spot where I can do some packet inspection to try and grab the IP.
Am I missing some magic way of resetting the root password on FreeNAS boxen? Those are the two options I see throughout the forums.