Changing root password on debian/ubuntu

When purchasing a VPS or dedicated it’s important to change the default root password that was emailed to you, for security purposes.

If you are already logged into the root account simply type

passwd

And follow the prompts.

If you are not logged into root

sudo passwd root

And follow the prompts.

That’s it.

Leave a Reply

Your email address will not be published. Required fields are marked *