You may have removed to much. Only remove totp that XXXCODEXXX is not a code, I think that encrypted password. Not sure that would cause the pid issue though.
Opps, just tested on my system, that is the TOTP code, removing TOTP changes the root user to this line. root:x::::::::0::::