---
title: "Discussion on \"Ubuntu: How to change your root password\" | Hashnode"
description: "Discussion on \"Ubuntu: How to change your root password\". Hi Everyone!\nYou can change your server password with the code below\nsudo passwd root \nThe root can be any user you wish to change their password.\nI write to learn, If I am wrong, don't hesitate to let me know.\nHappy Coding!"
url: "https://hashnode.com/posts/ubuntu-how-to-change-your-root-password/603119fe72a689446db3dd80"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Ubuntu: How to change your root password](https://seun.hashnode.dev/ubuntu-how-to-change-your-root-password?utm_source=hashnode&utm_medium=feed)

Hi Everyone! You can change your server password with the code below sudo passwd root The root can be any user you wish to change their password. I write to learn, If I am wrong, don't hesitate to let me know. Happy Coding!

Feb 20, 2021 · 1 min read · seun.hashnode.dev  
Read the article

-   [#server](https://hashnode.com/tag/server)
-   [#apache](https://hashnode.com/tag/apache)
-   [#ubuntu](https://hashnode.com/tag/ubuntu)

## Written by

[Oluwaseun Aransiola](https://hashnode.com/@oluwaseun)

@oluwaseun · England, UK

  
[View profile](https://hashnode.com/@oluwaseun)

Web Developer and Cyber Security

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
