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
Original Vintage Old Style STANDARD Black CD Jewel Case (Heavy Duty) 90g Lot
$285.95
Vintage Kleinschmidt Teletype TT-100/FG RTTY Teletypewriter Machine Teletype
$495.00
Apple Mouse Interface Card 670-0030-E Vintage 1983, 1987 Apple IIe II
$74.99
EPSON Endeavor NT-100 Win95 JP Vintage Japanese Laptop 777MB HDD Tested
$527.00
Vintage Rare HTF Tiny Love Stacking Rings And Links Baby Einstein
$80.00
RARE ~Turtle Beach MultiSound Pinnacle Vintage ISA Pro Sound Card - 16bit REV F
$500.00
Vintage MICROSOFT WINDOWS 2000 Professional W/Key NEW NOS
$37.00
Apple Macintosh Boot Disk System [1.0 - 8.0] 400/800k/1.4 Floppy for Vintage Mac
$11.75
$550.00
Apollo Domain Series 3000 Desktop Computer Vintage Unit Only JEC1
$299.95