You had better boot a live system and, mount the local root file system, 'chroot' in it and use visudo to edit the sudoers. For instance, if you root partition is /dev/sda1, I would try, from the live system:
$ sudo mount /dev/sda1 /mnt
$ chroot /mnt
$ EDITOR=nano; visudo

Good luck with that.

Reply via email to