FreeBSD 10.2 Default Root Password?!

July 3, 2016 13.6k views
Deployment DigitalOcean

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! :)

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.

Have another answer? Share your knowledge.