Continuing the discussion from [Question about passwd.pacnew]

$ echo 'root:x:0:0::/root:/bin/bash' > passwd.pacnew
$ sudo meld /etc/passwd passwd.pacnew

Yes that’s what I did but it may not be obvious to less experienced users.