0

I changed the system password recently. Whenever I am trying to do a git pull or a vpn connection, I am asked for the "previous" Ubuntu password. May I know why this is happening?

7
  • Which password did you change? git pull shouldn't ask a password.
    – Pilot6
    Jun 13, 2022 at 14:54
  • To be honest, I do not recall exactly what I did. My root and login are new. But the git pull and vpn are asking for old password.
    – SKPS
    Jun 13, 2022 at 16:30
  • 1
    It is unclear what you mean by "My root and login are new". If you can't recall what you did, it is impossible to suggest anything.
    – Pilot6
    Jun 13, 2022 at 16:43
  • By root, I meant the sudo password. By login, I meant the password I use to login to Ubuntu. This is a personal laptop and there is only one account.
    – SKPS
    Jun 13, 2022 at 16:48
  • 1
    "sudo password" should be the same as your user password. Did you create a new user? Did you make the new user an administrator?
    – Pilot6
    Jun 13, 2022 at 16:49

1 Answer 1

1

Most likely you created a new user and the new user is not an administrator.

Go to Settings -> Users and give your user this privilege.

Maybe your Home directory is still owned by another user.

Run

sudo chown -R $USER:$USER ~/

Be careful, don't skip ~.

You must log in to answer this question.

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