Re: Configuring sudo by file, not by visudo etc

2008-10-09 Thread Tzafrir Cohen
On Wed, Oct 08, 2008 at 09:19:51PM +, 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 pre

Re: Configuring sudo by file, not by visudo etc

2008-10-09 Thread Andrei Popescu
On Thu,09.Oct.08, 03:09:43, T o n g wrote: > On Wed, 08 Oct 2008 16:53:34 -0500, ReikoShea wrote: > > >> Is it possible to configure sudo by file, not by visudo etc? > >> > > Most definitely can just overwrite /etc/sudoers instead of using visudo. > > Not recommended, but does work. > > Thanks.

Re: Configuring sudo by file, not by visudo etc

2008-10-08 Thread T o n g
On Wed, 08 Oct 2008 16:53:34 -0500, ReikoShea wrote: >> Is it possible to configure sudo by file, not by visudo etc? >> > Most definitely can just overwrite /etc/sudoers instead of using visudo. > Not recommended, but does work. Thanks. It works. Don't know why it didn't work previously. Do I ha

Re: Configuring sudo by file, not by visudo etc

2008-10-08 Thread ReikoShea
On Wed, 2008-10-08 at 21:19 +, 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