0

I've been using Ubuntu 15.04 for a while with my password, so far so good (I'm the only user and root). But I wanted to change my password and tried to do that throuth terminal withsudo passwd. It asks me for my new password and than tell me the pw was successfully updated. The point is, my password doesn't change, it is the same old one. The new one doesn't work, it looks as if I've done nothing. What is that and how do I fix?

Grateful.

  • Kindly check this link http://askubuntu.com/questions/294946/how-to-change-root-password-in-ubuntu – Jerome Ayroso Oct 27 '15 at 03:20
  • You need to specify a user. sudo passwd Lucas – Neil Oct 27 '15 at 03:21
  • the password that you use with `sudo` is the one for your account. to change that use `passwd` without `sudo`. –  Oct 27 '15 at 05:30
  • You are **not** *"the only user and root"* - root is **always** a separate user. You may be the only user and a *member of the group `sudo`*. – steeldriver Oct 27 '15 at 06:27

1 Answers1

0

Run these commands:

sudo passwd root

[enter your user's password]
[enter the password you want]
[enter the same password]

And you're done.

Daniel
  • 3,400
  • 2
  • 22
  • 43