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.
sudo passwd myname
changes the password of the user myname and allows unsecure passwordspasswd
changes the password of the active user and disallows unsecure passwordssudo passwd
changes the password of the root accountsudo su; passwd
Super User Do Super User
If I’m not mistaken “su” stands for “switch user”, not " super user".
Substitute User Do Substitute User*
Yeah. It’s as dumb as
cat | grep
but people love it.… despite the added risk during that sudo/su switch.
su needs root’s password sudo su just needs your password
I’ve ran
I’ve run
thx
Great insight, really contributing to the community