Web lists-archives.com

Re: "passwd username" asks for current password of user even tho I'm root




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

On 11/10/18 00:17, Mariusz Gronczewski wrote:
> On previous releases, and on our CentOS systems I could change
> password of user by just sudo-ing to root and typing "passwd
> testuser"
> 
> In current Debian release, doing that asks me to specify that user
> password, which is pointless because:

Are you sure it is asking for the "user's" password and not just your
own to authorize sudo?

Cheers
A.
-----BEGIN PGP SIGNATURE-----

iHUEAREIAB0WIQTJAoMHtC6YydLfjUOoFmvLt+/i+wUCW74dlgAKCRCoFmvLt+/i
+0YyAQDAQvA7dhrekcfjQzQs+n3z3E/RHWwhOm7yTMMkkN/UkAEAthjNaIk+678P
+VL/o+2gDcqV+FgBIqU0YdtzDydu5xQ=
=wblw
-----END PGP SIGNATURE-----