As root visudo then use the examples in the file for your guide.Originally Posted by rrfish72
How do I add myself to the sudoers.
As root visudo then use the examples in the file for your guide.Originally Posted by rrfish72
Aw cmon Stephen are you gonna punish the noobs w/ vi?vi is about as friendly as a coiled rattlesnake! You don't have to use vi you can use any editor you want.
su
<passwd>
xedit /etc/sudoers
Originally Posted by mzilikazi
Not according to that ...Code:# sudoers file. # # This file MUST be edited with the 'visudo' command as root. # # See the man page for details on how to write a sudoers file. #
Well I don't even have vi on my Linux boxen but I'm a sudoer! OK so I'm a rebel. :P
Me too! I purged vi because, I couldn't figure that editor out. How anyone ended up liking vi as an editor is beyond me, that is the most unfriendly, unintiutive editor I have ever laid eyes on. Perhaps the warning could have said that it can be edited in a straight ascii editor such as nano, mcedit, ... you get the idea, as long as it is anything but vi.
The warning is there because when using the visudo it locks the file and prevents any other editing access to it for as long as you have it open this is the same reason vipw exists as well. Oh and BTW you were using VIM (vi improved) not VI if you think it was bad you should try the real thing.Originally Posted by Durand Hicks
I never understood why this warning was there before. I've long since edited it out.Originally Posted by Stephen
Personally I use Kate, I have a RootKate icon on the desktop. Just drag'n'drop the Kate icon from the start menu & edit to run as root...with KDE3.2 this is in 'advanced application' properties setups. Anyway, I highly recommend using Kate for newbies unfamiliar with CLI editors.
For CLI editor I use 'joe' (Ms Cuddles favorite app javascript:emoticon('') just because it's an interface I'm familiar with from a long time ago in the land before Windows or Linux.
Is this where you post your favorite editor?![]()
I think visudo also refuses to save the file if you've made a mistake in the syntax, or at least tells you about the mistake.
That said, I once ran vimtutor and the next command was apt-get install nano.
So how do I add to the llist? I don't know how to edit the list because I can't find it. Help?

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99
NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00
Intel SPTSLP2SLCDE 100G-DR1 QSFP28 500m 1311nm Transceivers - Lot of 10 - New
$200.00
New Sealed Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Transceiver Module *US
$17.00
Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver
$5.40
HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+
$16.99
Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA
$28.94
For Cisco SFP-10G-T-X Transceiver Multi-Rate 1G/2.5G/5G/10G SFP+ to RJ-45 Module
$66.31
Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module
$699.99
Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99