Question

what's the root password in FreeBsd? no possibility to reset it

I’ve installed a fresh FreeBsd droplet. I don’t know a password for root and haven’t received it, neither in spam. Moreover, in the dashboard at Digital Ocean it says “you should manager your password inside your system/droplet via ssh, by yourself. We don’t have and can’t reset it”


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

There is no root password set by default. You can set a password for root with:

sudo passwd

https://www.digitalocean.com/community/tutorials/how-to-get-started-with-freebsd-10-1#set-a-root-password-(optional)

@samoshi

When I attempt to setup a new FreeBSD Droplet, it’s telling me that I need to use SSH Keys

That means no password will be setup for root, instead, your SSH Key will be used to login and you would provide that when connecting to the server.

For example, on MacOS, using Terminal, I’d run:

ssh root@droplet_ip -i /path/to/private_key

With PuTTy on Windows/Linux, you’ll need to convert the key to PuTTy format and set the path to the key by modifying the entry in PuTTy – I believe it’s under Auth.