I have an FreeBSD EC2 instance running 14.3-RELEASE.
I can log in as ec2-user via SSH key file.
But I do not recall the root password. Obviously it is set since su - prompt me for a password.
Any ideas what I can do?
Ok solved it by installing an new FreeBSD image with UFS, then imported the zpool of the forgotten-password-image, mounted it and chrooted to it, followed by a passwd.
(with a new ZFS FreeBSD image this did not work, it got confused by the 2 zpools with the same default name)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.