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

Lot 100 SK hynix 16GB 2Rx8 PC4-23400 DDR4-2933Y ECC Reg Server Memory RDIMM RAM
$9599.00
128GB (2x64GB) NEW Crucial Micron DDR5 5600 Desktop RAM UDIMM (CP2K64G56C46U5)
$2085.00
Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit
$99.99
SK Hynix 32GB 2RX4 PC4-2666V DDR4 RDIMM Server Memory RAM, HMA84GR7AFR4N-VK
$169.95
Corsair Vengeance 32GB (2x16) SODIMM 5200Mhz CL44
$384.00
Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC
$29.99
DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix
$30.00
RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED
$445.00
Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM
$85.00
Corsair Vengeance RGB Pro 32GB (2x16GB) DDR4-3600 DIMM CMW32GX4M2Z3600C18
$187.99