Results 1 to 4 of 4
Warning: Do not edit /etc/sudoers directly with an editor; Errors in syntax can cause annoyances (like rendering the root account unusable). You must use the visudo command to edit /etc/sudoers.
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-07-2010 #1Linux Newbie
- Join Date
- May 2009
- Location
- Kitchener, Ontario, Canada
- Posts
- 191
Installing Arch linux
Warning: Do not edit /etc/sudoers directly with an editor; Errors in syntax can cause annoyances (like rendering the root account unusable). You must use the visudo command to edit /etc/sudoers.
In the previous section we added your user to the "wheel" group. To give users in the wheel group full root privileges when they precede a command with "sudo", uncomment the following line:
%wheel ALL=(ALL) ALL
so i signed in as root and typed in visudo now i alreayd made the changes but how do i exit and save super+x doesnt seem to do it for me since im not using nano and not supposed to cause it causes errors
- 09-07-2010 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
This command writes changes to the file and quits vi:
You can find other useful vi commands here:Code::wq
VI MAN Pageoz
- 09-07-2010 #3Linux Newbie
- Join Date
- May 2009
- Location
- Kitchener, Ontario, Canada
- Posts
- 191
Nm i solved it it was
Code:ESC :x
- 09-07-2010 #4
Exactly as oz said...
for more info on using vim (if you need it), execute
Great little program.Code:vimtutor
Also...
vimtutor - Linux Command - Unix CommandJay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.


Reply With Quote
