[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuring sudo by file, not by visudo etc



On Wed, Oct 08, 2008 at 09:19:51PM +0000, T o n g wrote:
> Hi,
> 
> Is it possible to configure sudo by file, not by visudo etc?
> 
> I know that visudo provides security checks, parses for errors, and 
> protects against multiple edits of the file. But each time I just copy 
> and paste what I prepared into it. I'm wondering if I can omit this extra 
> step entires, since I have a working sudoers file already.

The "right" way would be to create a temporary script to edit that file
and then pass it as EDITOR. 

-- 
Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend


Reply to: