I’ve run passwd and sudo su; passwd to change password for root and my account. Password is set correctly when using sudo and su but whenever I get prompted by pkexec it accepts only the old password. I’ve rebooted my system to make sure it was not an issue.

Edit: Solved Turns out the password were changed for root account but not my user account. I think the reason is that there are no password quality requirements on root accounts, but there are on the default account in ubuntu. Changing the password from root account passwd user worked fine.

  • Morethanevil
    link
    fedilink
    157 months ago

    sudo passwd myname changes the password of the user myname and allows unsecure passwords

    passwd changes the password of the active user and disallows unsecure passwords

    sudo passwd changes the password of the root account