Re: Cannot save changes to sudoers
- From: Michael Heiming <michael+USENET@xxxxxxxxxxxxxx>
- Date: Mon, 27 Mar 2006 21:01:27 +0200
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
.
- References:
- Cannot save changes to sudoers
- From: Nick.Name
- Cannot save changes to sudoers
- Prev by Date: Re: Cannot save changes to sudoers
- Next by Date: Re: Cannot save changes to sudoers
- Previous by thread: Re: Cannot save changes to sudoers
- Next by thread: Re: Cannot save changes to sudoers
- Index(es):
Relevant Pages
|