Zero-terminate passwd_content