Re: Cannot save changes to sudoers



In comp.os.linux.setup Nick.Name <JLuckey@xxxxxxxxxxx>:
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)

The sudoers file is not intended to be edited with some freaking
editor and you shouldn't login to you wm as root.

Login as user, open some xterm, enter 'su -' to become root and
then 'visudo' to edit the sudoers file, it will do some sanity
checks before writing to disk. If unsure how to use the editor,
try 'vimtutor'.

Good luck

[..]

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@xxxxxxxxxx | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 350: paradigm shift...without a clutch
.



Relevant Pages

  • 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)
  • Re: Sudo doubt
    ... # This file MUST be edited with the 'visudo' command as root. ... # See the sudoers man page for the details on how to write a sudoers ... "sudo -l" shows only the commands allow for the actual user (seems you ...
    (comp.unix.solaris)
  • Re: changing user id for all files in a file system (corrected)
    ... That has to do with what's in /etc/sudoers, I imagine. ... it's meant that sudoers is ... used -- sudoers are equivalent to root. ... I suppose I should have qualified my 'sudo find' ...
    (Debian-User)