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

Re: Configuring sudo by file, not by visudo etc



On Wed, 2008-10-08 at 21:19 +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.
> 
> thanks
> 
> -- 
> Tong (remove underscore(s) to reply)
>   http://xpt.sourceforge.net/techdocs/
>   http://xpt.sourceforge.net/tools/
> 
> 

Most definitely can just overwrite /etc/sudoers instead of using visudo.
Not recommended, but does work.


Reply to: