Changing a password on Linux can be confusing for those who are unfamiliar with it. This guide will show you how to change your account's password for most Linux systems.

Community Q&A

  • Question
    How do I change the admin password?
    Living Concrete
    Living Concrete
    Top Answerer
    To change the root password, you will need to log in as root. Depending on your Linux distribution, you can do this a variety of ways. Most common distributions require you to become root using the command "sudo -i", "sudo su -", or "su root". You may then change the root password by executing the "passwd" command.
  • Question
    I can't type letters for my Terminal password. What should I do?
    Somone
    Somone
    Community Answer
    The password you type becomes invisible, but it's still there. Just be careful not to make a mistake in the password.
  • Question
    I had forgetten my login password. How can I change it?
    Somone
    Somone
    Community Answer
    Refer to our article How to Reset Forgotten Password in Linux for help resetting your login password.
Advertisement

About This Article

Tested by:
wikiHow Technology Team
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 11 people, some anonymous, worked to edit and improve it over time. This article has been viewed 123,838 times.
How helpful is this?
Co-authors: 11
Updated: June 7, 2022
Views: 123,838
Categories: Linux
Advertisement