---

How to reset the root password on Linux and FreeBSD

Listed below are the step by step procedures to reset the root password in different versions of CentOS, CoreOS, Debian, Ubuntu and FreeBSD. Begin this procedure by booting your server into single user mode. If you have direct (physical access) to the server, then just reboot it and proceed with the steps for your OS below.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis