AFAIK, the only way to edit /etc/sudoers is with
visudo -f /etc/sudoers
Frustrated with not being able to use sudo to get stuff done? Well, don't worry, here is how to get that power back, without re-installing!
1. Log in as root
2. open kwrite or kate
3. open /etc/sudoers (or sudoer or something like that, I cannot remember right now)
4. copy+paste the root entry, then change username to your username.
5. Enjoy using sudo once again!
AFAIK, the only way to edit /etc/sudoers is with
visudo -f /etc/sudoers
Visudo isn't the only way to edit but it does check the syntax for errors and locks the file while you edit which is nonimportant on a single user desktop. If you want an easier editor than vim you can do: EDITOR=mcedit visudo , or change the default editor with: update-alternatives --config editor . After that just run visudo and mcedit will be used.
For some examples have a look at: man sudoers

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
Dell PowerEdge R240 Intel Xeon E-2224 3.50GHz 8GB DDR4 ECC NO HDD 250W
$285.97
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99
Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700
$289.99
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99
Dell PowerEdge R730 8 Bay Server 64Gb 1x80Gb SSD 3x900Gb SAS 2x12c v4CPU Proxmox
$620.00
Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99
Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00