0

So whenever I try to use sudo commands on my Ubuntu 20.04 on my laptop(I have a partition for Ubuntu) and I am asked to type password ,even though I type in correct password I get a notification saying "sorry that didn't work,please try again"

4
  • This means that you type a wrong password.
    – Pilot6
    Jan 27, 2023 at 19:12
  • Is there anyway to change it?
    – Moon
    Jan 27, 2023 at 19:26
  • tried it didn't work.
    – Moon
    Jan 27, 2023 at 19:31
  • initially I couldn't even login to my account but now I can but can't use sudo commands
    – Moon
    Jan 27, 2023 at 19:33

1 Answer 1

0

You most likely have the wrong password. Assuming your installation is quite fresh, and you haven't modified it a lot, I would recommend wiping the partition and re-installing it. Alternativly, if you do not want to do that you can look at this answer: How do I reset a lost administrative password?

1
  • This answer is basically a duplicate of this comment to the main question which was posted before you posted this answer.
    – karel
    Feb 17, 2023 at 0:36

Not the answer you're looking for? Browse other questions tagged .