Resetting a user’s password as admin results in ‘Password Reset Failed’

I am logged onto a 2013 Macbook Air trying to reset a user’s password. This user is not logged in, and is not an admin themselves (they were before, which was revoked). When I reset the user’s password it fails with Password Reset Failed. Trying to do so in the terminal with passwd username prompts for the old password.