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 | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849754 | | friend -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]