LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices


Reply
  Search this Thread
Old 12-13-2005, 04:25 AM   #1
suguru
Member
 
Registered: Dec 2003
Location: Voluntarily move into diaster relief areas.
Distribution: Upgraded from Suse 10 to Ubuntu.
Posts: 104

Rep: Reputation: 15
visudo lets me edit sudoers but not save ver 3.3.1


I just bought SimplyMepis3.3.1 from the local linux store.
I visudo and it came up as usual. I added a user name as
usual. Then when I hit esc :, it replied H-: undefined.
I went to my Suse 10 machine and did the same thing and
Suse would let me q or w or do whatever vi is supposed to
do.

Does anyone know what is wrong and how to fix it?
 
Old 12-13-2005, 05:11 PM   #2
mos
Member
 
Registered: May 2005
Location: Orlando, Fl
Distribution: ArchLinux (Can use any distro though)
Posts: 231

Rep: Reputation: 30
the problem is you need to type :wq after hitting the escape key in vi to save.
 
Old 12-19-2005, 12:22 AM   #3
suguru
Member
 
Registered: Dec 2003
Location: Voluntarily move into diaster relief areas.
Distribution: Upgraded from Suse 10 to Ubuntu.
Posts: 104

Original Poster
Rep: Reputation: 15
Esc :wq is exactly what I tried. It gave err after esc :

Sorry for the , which I felt English grammar needed.
Esc :wq is exactly what I tried. It gave err after esc :
 
Old 12-19-2005, 12:25 AM   #4
mos
Member
 
Registered: May 2005
Location: Orlando, Fl
Distribution: ArchLinux (Can use any distro though)
Posts: 231

Rep: Reputation: 30
I suggest you edit it with kwrite then, sincce your unfamiliar with vi
(it's erroring because your hitting esc after already being escapred from edit mode.)
 
Old 12-19-2005, 07:23 AM   #5
suguru
Member
 
Registered: Dec 2003
Location: Voluntarily move into diaster relief areas.
Distribution: Upgraded from Suse 10 to Ubuntu.
Posts: 104

Original Poster
Rep: Reputation: 15
I did esc : but got the error message before wq

Thanks for replying here. I will expand on two other problems first then get back to the visudoers mess in mepis. I just registered for mepislovers but then was told that I could not write, edit or modify there only read. A big problem at mepislovers is there is no place for advanced users who are new to mepis. Advanced SM says for people advanced in mepis. Newbies is not right for people advanced in linux. I have also used vi to edit /etc/fstab so that I can mount the windows fat directory. But after I boot, I see that fstab is just like it was before I edited it. The esc:wq problem was in visudo. When I used vi it worked just fine. I can't figure out
what is wrong in fstab. I will try kwrite again.

Last edited by suguru; 12-19-2005 at 07:28 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Save Visudo and exit acbenny Linux - General 7 05-05-2011 01:33 PM
I deleted /etc/sudoers and creates a new file call sudoers but now it doesnt for visu abefroman Linux - Software 1 11-10-2005 06:03 PM
How do I edit & save VCDs/DVDs etc. coolblue Linux - Newbie 1 05-26-2005 12:21 AM
Lets save Slackers from Gnucash hell...... melinda_sayang Slackware 9 09-01-2004 06:14 AM
find, edit and save "startup" file chaoticanuck Linux - Newbie 2 12-19-2002 11:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS

All times are GMT -5. The time now is 12:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration