Lino Così failed to define a user type named user. Which caused passwd to fail when called with the -c option.
user
passwd
-c