Re: Cannot save changes to sudoers



On 27 Mar 2006 09:41:26 -0800, Nick.Name
<JLuckey@xxxxxxxxxxx> wrote:
Linux Newbie just installed Fedora Core 5 for i386. After editing
sudoers in gedit it fails to save w/ error msg:
Could not save file /etc/sudoers
You are trying to save this file on a read-only disk. Please check
that you have typed the location correctly and try again.

I am logged-in as root. I have created other files in the /etc
directory successfully.

Questions:
1. Why won't it let me save the edited sudoers? (I'm under the
impression that as root I have authority to do anything)

You should use the command "visudo" to edit /etc/sudoers.



--
That's the true harbinger of spring, not crocuses or swallows
returning to Capistrano, but the sound of a bat on a ball.
-- Bill Veeck
.



Relevant Pages

  • Re: Cannot save changes to sudoers
    ... You are trying to save this file on a read-only disk. ... I am logged-in as root. ... Do not edit the sudoers file with any other command but visudo. ...
    (comp.os.linux.setup)
  • Cannot save changes to sudoers
    ... sudoers in gedit it fails to save w/ error msg: ... I am logged-in as root. ... Why won't it let me save the edited sudoers? ...
    (comp.os.linux.setup)
  • Re: Firefox 1.5.0.7 RPM
    ... I need root password to sudo. ... because sudoers can do just as stupid things as root. ...
    (alt.os.linux.suse)
  • Re: su and administrator password fails in gnome
    ... On a new installation of Etch, I edited sudoers to give root ... priveleges to myself (user rick). ... Suddenly when gnome asks for my administrator password or when I try ...
    (Debian-User)
  • Re: Firefox 1.5.0.7 RPM
    ... I need root password to sudo. ... because sudoers can do just as stupid things as root. ...
    (alt.os.linux.suse)