There's always the radical solution: If you have another (like) machine around, mount this machine's root disk as an extra file system on the other machine. Now edit /<extrafs>/etc/passwd. Voila! -- Shankar P.S. Don't forget to move the root disk back :-) :-)