I have tried with command: $ passwd

It is asking new password and give success message but when I try to login with new password after restart the system. It work with old password. New password not changed! Any idea...

  • 1
    Are you sure you are typing in passwd? Because if you are using sudo passwd you are changing the root user password.
    – kemotep
    Nov 27 '19 at 13:41
  • 1
    What kemotep said. If it's not asking you to confirm your existing password (which you don't mention anything about), we will have to assume that you are indeed using sudo passwd, which will change the root user's password (without having to confirm the old password), not the password of the current user.
    – Kusalananda
    Nov 27 '19 at 14:59

You can type passwd only and then type the new pass when asked. I am sure It will change.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.