Re: Cannot save changes to sudoers
- From: Keith Keller <kkeller-usenet@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Mar 2006 07:32:27 -0800
On 2006-03-28, AZ Nomad <aznomad@xxxxxxxxxxxxxx> wrote:
bull***.
visudo is just another editor. there is nothing in the file system,
or anywhere else that restricts editing /etc/sudoers to visudo.
Since we're calling bull***, visudo is not an editor; it calls an
editor after doing some locking, and does some syntax checking after the
editor exits.
If you know what you're doing, there's nothing wrong with editing
sudoers with your favorite editor.
There's nothing wrong with using your favourite editor with visudo.[0]
And, because the syntax of sudoers is nontrivial, and because b0rking it
up can have security implications, it is best to use visudo.
"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.
That was going to be my guess.
--keith
[0] Well, if your favourite editor is not compiled in to visudo, you
might have a problem.
--
kkeller-usenet@xxxxxxxxxxxxxxxxxxxxxxxxxx
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom
see X- headers for PGP signature information
.
- Follow-Ups:
- Re: Cannot save changes to sudoers
- From: Michael Heiming
- Re: Cannot save changes to sudoers
- References:
- Cannot save changes to sudoers
- From: Nick.Name
- Re: Cannot save changes to sudoers
- From: Bill Marcum
- Re: Cannot save changes to sudoers
- From: AZ Nomad
- Cannot save changes to sudoers
- Prev by Date: I *LOVE* LINUX
- Next by Date: Re: real time vs system/cpu time
- Previous by thread: Re: Cannot save changes to sudoers
- Next by thread: Re: Cannot save changes to sudoers
- Index(es):