On Jan 22, 2009, at 6:38 PM, John Summerfield wrote:

Larry Ploetz wrote:
Scott Rohling wrote:

If I must configure bind, maybe I need a text editor. If I can use a
text editor maybe I can edit /etc/sudoers
I said that

That's what sudoedit (not visudoers!) is for.

The point is that I can actually use any editor I like, so long as I
get
it right. I have actually used at least one of ed, ex and sed, I
edit it
in my kickstart %post section.

Well, yeah, but you should do that by setting your EDITOR environment
variable and running visudo (or, I guess, sudoedit), which, despite
the name, does respect the value of $EDITOR.  It also does all the
appropriate locking and atomic updating to ensure that the file is
safely editing, which just smacking a text editor onto /etc/sudoers
doesn't.

Adam

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to