Vibes Host Doc's & FAQ
  • Welcome to Vibes Host Doc's & FAQ
  • General Technical Questions
    • Windows
      • Change VPS Password
      • How to connect to your windows VPS
      • Open Windows Firewall Ports
      • Setup MariaDB on Windows Server
      • Disable Windows Update
    • Linux
      • Change user password
      • Install MariaDB on Linux
    • AntiDDos Firewall Managment
      • Path.net
  • Games
    • Rust
      • How to protect your Rust server
    • Minecraft
    • GTA ROLEPLAY
  • VPS DASHBOARD MANAGMENT
    • About the new Vibes Dashboard
      • Change the OS
      • Enable 2FA
  • Discord
  • Support Ticket
  • Youtube Videos
Powered by GitBook
On this page

Was this helpful?

  1. General Technical Questions
  2. Linux

Change user password

Changing the root user's password is an essential task for system security or recovery. Here's a step-by-step guide depending on whether you can log in as root, access through a sudo-enabled account,


If you're already logged in as the root user or can switch to it, follow these steps:

Steps:

  1. Open a terminal.

  2. Run the following command:

    passwd
  3. You will be prompted to enter a new password. Enter it, then confirm by typing it again.

  4. After confirming, the root password will be changed.

If you’re logged in as a non-root user but have sudo privileges, you can still change the root password:

Steps:

  1. Open a terminal.

  2. Run the following command:

    sudo passwd root
  3. You will be asked for your user's password to authenticate the sudo command.

  4. Then, you will be prompted to enter the new root password and confirm it.

  5. Once done, the root password will be changed.

PreviousLinuxNextInstall MariaDB on Linux

Last updated 7 months ago

Was this helpful?

Page cover image