Re: Cannot save changes to sudoers
- From: AZ Nomad <aznomad@xxxxxxxxxxxxxx>
- Date: Tue, 28 Mar 2006 07:00:04 GMT
On Mon, 27 Mar 2006 14:33:12 -0500, Bill Marcum <bmarcum@xxxxxxxxx> wrote:
On 27 Mar 2006 09:41:26 -0800, Nick.Name
<JLuckey@xxxxxxxxxxx> wrote:
Linux Newbie just installed Fedora Core 5 for i386. After editingYou should use the command "visudo" to edit /etc/sudoers.
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)
bull***.
visudo is just another editor. there is nothing in the file system,
or anywhere else that restricts editing /etc/sudoers to visudo.
If you know what you're doing, there's nothing wrong with editing
sudoers with your favorite editor. Just as there's nothing wrong
with editing a C++ program with an editor other than nedit.
"You are trying to save this file on a read-only disk" is an indication
that the file system is readonly or perhaps a text editor that doesn't
know the difference between a readonly file and a readonly file system.
.
- Follow-Ups:
- Re: Cannot save changes to sudoers
- From: Keith Keller
- Re: Cannot save changes to sudoers
- References:
- Cannot save changes to sudoers
- From: Nick.Name
- Re: Cannot save changes to sudoers
- From: Bill Marcum
- Cannot save changes to sudoers
- Prev by Date: Re: Post install configuration
- Next by Date: Re: Not able to install CentOS 4.2
- Previous by thread: Re: Cannot save changes to sudoers
- Next by thread: Re: Cannot save changes to sudoers
- Index(es):