FreeBSD 10.2 Default Root Password?!

Posted July 3, 2016 22.1k views

Hello, I’ve installed freebsd 10.2 on my droplet. I can login with my SSH private key with the user called “freebsd”.
How can I login with root user?
I don’t know what its default password is.

Thanks in advance! :)

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi, root login is disabled by default. I strongly advise to leave it disabled. If you need to perform privileged operations, you have the sudo command enabled.

Anyway, for reference, you can set a root password with:
sudo passwd root
This will not enable ssh login with root. Again, is strongly suggested to keep it disabled from ssh login.